import { z } from 'zod'; import { FunctionSource } from './function.js'; export declare const serverRegion: z.ZodPreprocess>; export declare const serverSize: z.ZodPreprocess>; export declare const isValidRange: ({ min, max }: { min?: number; max?: number; }) => boolean; export declare const serverScale: z.ZodObject<{ min: z.ZodOptional; max: z.ZodOptional; }, z.core.$strict>; export declare const functionConfigShape: z.ZodObject<{ background: z.ZodCatch>; 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>; memory: z.ZodOptional>; region: z.ZodOptional>>; rustTargetDirectory: z.ZodCatch>; schedule: z.ZodCatch>; timeout: z.ZodCatch>; vcpu: z.ZodOptional; zipGo: z.ZodCatch>; nodeModuleFormat: z.ZodCatch>>; }, z.core.$strip>; 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 declare const withComputeResources: (merged: T, sources: Pick[]) => T; export { Config, FunctionConfig, FunctionWithoutConfig, getConfigForFunction };