import type { IncomingMessage, ServerResponse } from "node:http"; export interface OpenCodePickerOptions { readonly workspaceRoot?: string; readonly skills?: ReadonlyArray; readonly agent?: string; } interface PickerPlugin { readonly name: string; readonly apply: "serve"; readonly enforce: "pre"; readonly configResolved: (config: { readonly root: string; readonly base: string; }) => void; readonly resolveId: (id: string) => string | undefined; readonly load: (id: string) => string | undefined; readonly transformIndexHtml: { readonly order: "pre"; readonly handler: () => Array<{ readonly tag: string; readonly attrs: Readonly>; readonly children: string; readonly injectTo: "body"; }>; }; readonly transform: (code: string, id: string) => Promise<{ readonly code: string; readonly map: string | null; } | undefined>; readonly configureServer: (server: { readonly middlewares: { use: (path: string, handler: (request: IncomingMessage, response: ServerResponse) => void) => void; }; }) => void; } export declare const viteOpenCodePicker: (options?: OpenCodePickerOptions) => PickerPlugin; export default viteOpenCodePicker;