import { BrowserFeature, Feature } from '../constants'; import type { ServerArgs } from './index'; import type { ServerReadyData } from './api'; import type { ToolRunnerTree } from './tool-runner'; interface CustomGuiError { response: { status: number; data: string; }; } export type GetInitResponse = (ToolRunnerTree & { customGuiError?: CustomGuiError; } & { browserFeatures: Record; features: Feature[]; }) | null; export declare const start: (args: ServerArgs) => Promise; export {};