import z from 'zod'; export declare const scanConfigSchema: z.ZodObject<{ roots: z.ZodArray; exclude: z.ZodArray]>, "many">; output: z.ZodObject<{ level: z.ZodEnum<["all", "matched"]>; }, "strip", z.ZodTypeAny, { level: "all" | "matched"; }, { level: "all" | "matched"; }>; patternFragment: z.ZodObject<{ pre: z.ZodString; placeholder: z.ZodString; post: z.ZodString; }, "strip", z.ZodTypeAny, { post: string; pre: string; placeholder: string; }, { post: string; pre: string; placeholder: string; }>; checkIsPathLikeString: z.ZodFunction, z.ZodBoolean>; apis: z.ZodArray; }, "strip", z.ZodTypeAny, { apis: string[]; roots: string[]; exclude: (string | RegExp)[]; output: { level: "all" | "matched"; }; patternFragment: { post: string; pre: string; placeholder: string; }; checkIsPathLikeString: (args_0: string, ...args_1: unknown[]) => boolean; }, { apis: string[]; roots: string[]; exclude: (string | RegExp)[]; output: { level: "all" | "matched"; }; patternFragment: { post: string; pre: string; placeholder: string; }; checkIsPathLikeString: (args_0: string, ...args_1: unknown[]) => boolean; }>; export declare const opConfigSchema: z.ZodObject<{ onesVersion: z.ZodOptional; enableApiHijack: z.ZodOptional; scan: z.ZodOptional>; exclude: z.ZodOptional]>, "many">>; output: z.ZodOptional>; }, "strip", z.ZodTypeAny, { level?: "all" | "matched" | undefined; }, { level?: "all" | "matched" | undefined; }>>; patternFragment: z.ZodOptional; placeholder: z.ZodOptional; post: z.ZodOptional; }, "strip", z.ZodTypeAny, { pre?: string | undefined; placeholder?: string | undefined; post?: string | undefined; }, { pre?: string | undefined; placeholder?: string | undefined; post?: string | undefined; }>>; checkIsPathLikeString: z.ZodOptional, z.ZodBoolean>>; apis: z.ZodOptional>; }, "strip", z.ZodTypeAny, { roots?: string[] | undefined; exclude?: (string | RegExp)[] | undefined; output?: { level?: "all" | "matched" | undefined; } | undefined; patternFragment?: { pre?: string | undefined; placeholder?: string | undefined; post?: string | undefined; } | undefined; checkIsPathLikeString?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; apis?: string[] | undefined; }, { roots?: string[] | undefined; exclude?: (string | RegExp)[] | undefined; output?: { level?: "all" | "matched" | undefined; } | undefined; patternFragment?: { pre?: string | undefined; placeholder?: string | undefined; post?: string | undefined; } | undefined; checkIsPathLikeString?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; apis?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { onesVersion?: string | undefined; enableApiHijack?: boolean | undefined; scan?: { roots?: string[] | undefined; exclude?: (string | RegExp)[] | undefined; output?: { level?: "all" | "matched" | undefined; } | undefined; patternFragment?: { pre?: string | undefined; placeholder?: string | undefined; post?: string | undefined; } | undefined; checkIsPathLikeString?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; apis?: string[] | undefined; } | undefined; }, { onesVersion?: string | undefined; enableApiHijack?: boolean | undefined; scan?: { roots?: string[] | undefined; exclude?: (string | RegExp)[] | undefined; output?: { level?: "all" | "matched" | undefined; } | undefined; patternFragment?: { pre?: string | undefined; placeholder?: string | undefined; post?: string | undefined; } | undefined; checkIsPathLikeString?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; apis?: string[] | undefined; } | undefined; }>; export type ScanConfigSchema = z.infer; export type OpConfigSchema = z.infer; export declare const getOpConfig: (configPath?: string) => Promise<{ onesVersion?: string | undefined; enableApiHijack?: boolean | undefined; scan?: { roots?: string[] | undefined; exclude?: (string | RegExp)[] | undefined; output?: { level?: "all" | "matched" | undefined; } | undefined; patternFragment?: { pre?: string | undefined; placeholder?: string | undefined; post?: string | undefined; } | undefined; checkIsPathLikeString?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; apis?: string[] | undefined; } | undefined; }>; export declare const setOpConfig: (setter: (config: OpConfigSchema) => void) => void; //# sourceMappingURL=op-config.d.ts.map