import { z } from 'zod'; import { FunctionSource } from './function.js'; export declare const functionConfig: z.ZodObject<{ externalNodeModules: z.ZodCatch>>; generator: z.ZodCatch>; includedFiles: z.ZodCatch>>; includedFilesBasePath: z.ZodCatch>; ignoredNodeModules: z.ZodCatch>>; name: z.ZodCatch>; nodeBundler: z.ZodCatch>>; nodeSourcemap: z.ZodCatch>; nodeVersion: z.ZodCatch>; rustTargetDirectory: z.ZodCatch>; schedule: z.ZodCatch>; timeout: z.ZodCatch>; zipGo: z.ZodCatch>; nodeModuleFormat: z.ZodCatch>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; externalNodeModules?: string[] | undefined; generator?: string | undefined; includedFiles?: string[] | undefined; includedFilesBasePath?: string | undefined; ignoredNodeModules?: string[] | undefined; nodeBundler?: "none" | "esbuild" | "esbuild_zisi" | "nft" | "zisi" | undefined; nodeSourcemap?: boolean | undefined; nodeVersion?: string | undefined; rustTargetDirectory?: string | undefined; schedule?: string | undefined; timeout?: number | undefined; zipGo?: boolean | undefined; nodeModuleFormat?: "cjs" | "esm" | undefined; }, { name?: unknown; externalNodeModules?: unknown; generator?: unknown; includedFiles?: unknown; includedFilesBasePath?: unknown; ignoredNodeModules?: unknown; nodeBundler?: unknown; nodeSourcemap?: unknown; nodeVersion?: unknown; rustTargetDirectory?: unknown; schedule?: unknown; timeout?: unknown; zipGo?: unknown; nodeModuleFormat?: unknown; }>; type FunctionConfig = z.infer; type GlobPattern = string; type Config = Record; type FunctionWithoutConfig = Omit; declare const getConfigForFunction: ({ config, configFileDirectories, func, }: { config?: Config; configFileDirectories?: string[]; func: FunctionWithoutConfig; }) => Promise; export { Config, FunctionConfig, FunctionWithoutConfig, getConfigForFunction };