import type { Assets } from "../assets.ts";
import type { Bindings } from "../bindings.ts";
import { type ViteProps } from "../vite/vite.ts";
import type { Worker } from "../worker.ts";
export interface ReactRouterProps<B extends Bindings, RPC extends Rpc.WorkerEntrypointBranded = Rpc.WorkerEntrypointBranded> extends ViteProps<B, RPC> {
    /**
     * @default workers/app.ts
     */
    main?: string;
}
export type ReactRouter<B extends Bindings, RPC extends Rpc.WorkerEntrypointBranded = Rpc.WorkerEntrypointBranded> = B extends {
    ASSETS: any;
} ? never : Worker<B & {
    ASSETS: Assets;
}, RPC>;
export declare function ReactRouter<B extends Bindings, RPC extends Rpc.WorkerEntrypointBranded = Rpc.WorkerEntrypointBranded>(id: string, props?: ReactRouterProps<B, RPC>): Promise<ReactRouter<B, RPC>>;
//# sourceMappingURL=react-router.d.ts.map