import { buildPatchFilter, type PatchModule } from './_util.ts';
/**
 * Loader kinds we emit. The CLI's patch step only ever produces JS or
 * TS output; the broader `Bun.Loader` union (json, jsx, tsx, etc.) is
 * unused here.
 */
export type PatchLoader = 'js' | 'ts';
export { buildPatchFilter };
export declare function generatePatches(): Map<string, PatchModule>;
export declare function applyPatch(filename: string, patch: PatchModule): Promise<[string, PatchLoader]>;
//# sourceMappingURL=index.d.ts.map