import type { IslandModule } from "./scan.js"; /** Options for generating the client entry module. */ export interface GenerateEntryOptions { /** Islands to register, from `scanIslands`. */ islands: IslandModule[]; /** Absolute path of the entry file to write (e.g. ".nix-js/entry-client.ts"). */ outFile: string; /** * Import specifier for the kit's client island helpers. * Defaults to the published subpath `@deijose/nix-js-kit/island`. */ hydrateImport?: string; /** * Import specifier for the kit's client router. * Defaults to the published subpath `@deijose/nix-js-kit/router`. */ routerImport?: string; } /** Builds the source code of the client entry module. */ export declare function buildEntrySource(islands: IslandModule[], outFile: string, hydrateImport?: string, routerImport?: string): string; /** * Generates and writes the client entry module for the given islands. * * @param options Generation options. * @returns The absolute path of the written entry file. */ export declare function generateClientEntry(options: GenerateEntryOptions): Promise;