export interface PatchFunctionAction {
    before?: string;
    after?: string;
}
export interface PatchClassAction {
    methods: Record<string, PatchFunctionAction>;
}
export interface PatchModule {
    module: string;
    filename?: string;
    functions?: Record<string, PatchFunctionAction>;
    classes?: Record<string, PatchClassAction>;
    body?: PatchFunctionAction;
}
export declare function generateEnvWarning(envkey: string): string;
export declare function generateJSArgsPatch(index: number, inject: string): string;
export declare function generateEnvGuard(name: string, inject: string, alt?: string): string;
export declare function generateGatewayEnvGuard(apikey: string, _apikeyval: string, apibase: string, provider: string): string;
export declare function searchBackwards(contents: string, offset: number, val: string): number;
//# sourceMappingURL=_util.d.ts.map