import type { FileSystemAdapter } from "../../platform/adapters/base.js"; import type { ClientModuleStrategy } from "./client-module-strategy.js"; export declare const CLIENT_PAGE_ISLAND_ID = "veryfront-page-island"; export interface ClientPageIslandLayout { kind: "mdx" | "tsx"; path: string; } export interface ClientPageIslandPlan { serverLayouts: ClientPageIslandLayout[]; clientLayouts: ClientPageIslandLayout[]; } export interface ClientPageIslandPlanOptions { pageSource: string; pagePath: string; projectDir: string; appDir: string; layouts: readonly ClientPageIslandLayout[]; fs: FileSystemAdapter | null | undefined; strategy: ClientModuleStrategy; } export declare function hasClientFileName(path: string | undefined): boolean; /** Match the client classification used by the RSC component analyzer. */ export declare function hasUseClientDirective(source: string, path?: string): boolean; /** Detect a top-level server boundary using directive-prologue semantics. */ export declare function hasUseServerDirective(source: string): boolean; /** * Split App Router layouts around the single legal server-to-client boundary. * Read failures remain on the server side so an uncertain layout is never * promoted into browser code. */ export declare function planClientPageIsland(options: ClientPageIslandPlanOptions): Promise; //# sourceMappingURL=page-island.d.ts.map