import { PinionContext, Callable } from '../core'; export declare type Location = (lines: string[], ctx: C, fileName: string) => Promise<{ index: number; pattern?: string | RegExp | undefined; }>; export declare const inject: (template: Callable, location: Location, target: Callable) => (ctx: T) => Promise; export declare const before: (pattern: Callable) => (lines: string[], ctx: any, fileName: string) => Promise<{ index: number; pattern: string | RegExp; }>; export declare const after: (pattern: Callable) => (lines: string[], ctx: any, fileName: string) => Promise<{ index: number; pattern: string | RegExp; }>; export declare const prepend: () => () => Promise<{ index: number; }>; export declare const append: () => (lines: string[]) => Promise<{ index: number; }>;