import { DevServerHttpsOptions } from '@modern-js/types/server';
import { ProgressBarConfig } from '../types';
import { z } from '../utils';
import { ZodType } from '../zod';
export declare const DevServerHttpsOptionsSchema: ZodType<DevServerHttpsOptions>;
export declare const ProgressBarConfigSchema: ZodType<ProgressBarConfig>;
export declare const sharedDevConfigSchema: z.ZodObject<{
    hmr: z.ZodOptional<z.ZodBoolean>;
    port: z.ZodOptional<z.ZodNumber>;
    host: z.ZodOptional<z.ZodString>;
    https: z.ZodOptional<z.ZodType<DevServerHttpsOptions, z.ZodTypeDef, DevServerHttpsOptions>>;
    startUrl: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
    beforeStartUrl: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>, "many">, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>]>>;
    assetPrefix: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
    progressBar: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodType<ProgressBarConfig, z.ZodTypeDef, ProgressBarConfig>]>>;
}, "strip", z.ZodTypeAny, {
    beforeStartUrl?: ((...args: unknown[]) => void | Promise<void>) | ((...args: unknown[]) => void | Promise<void>)[] | undefined;
    hmr?: boolean | undefined;
    port?: number | undefined;
    https?: DevServerHttpsOptions | undefined;
    startUrl?: string | boolean | string[] | undefined;
    assetPrefix?: string | boolean | undefined;
    progressBar?: boolean | ProgressBarConfig | undefined;
    host?: string | undefined;
}, {
    beforeStartUrl?: ((...args: unknown[]) => void | Promise<void>) | ((...args: unknown[]) => void | Promise<void>)[] | undefined;
    hmr?: boolean | undefined;
    port?: number | undefined;
    https?: DevServerHttpsOptions | undefined;
    startUrl?: string | boolean | string[] | undefined;
    assetPrefix?: string | boolean | undefined;
    progressBar?: boolean | ProgressBarConfig | undefined;
    host?: string | undefined;
}>;
