import { InlineConfig } from "vite";
import { unstable_readConfig } from "wrangler";
import { ConfigurableEsbuildOptions } from "./runDirectivesScan.mjs";
export type RedwoodPluginOptions = {
    silent?: boolean;
    rootDir?: string;
    includeCloudflarePlugin?: boolean;
    includeReactPlugin?: boolean;
    configPath?: string;
    forceClientPaths?: string[];
    forceServerPaths?: string[];
    entry?: {
        worker?: string;
    };
    esbuildOptions?: ConfigurableEsbuildOptions;
};
export declare const determineWorkerEntryPathname: ({ projectRootDir, workerConfigPath, options, readConfig, }: {
    projectRootDir: string;
    workerConfigPath: string;
    options: RedwoodPluginOptions;
    readConfig?: typeof unstable_readConfig;
}) => Promise<string>;
export declare const redwoodPlugin: (options?: RedwoodPluginOptions) => Promise<InlineConfig["plugins"]>;
