export type AiServiceEvent = { message: string; type: "build-error"; } | { path: string; type: "file-change"; event?: string; }; /** * Narrows a decoded `/_sb_ai_events` body to an event, or undefined when the * sender's shape does not match either event kind. */ export declare function parseAiServiceEvent(value: unknown): AiServiceEvent | undefined; export declare function sendAiServiceEvent(event: AiServiceEvent, { aiServiceUrl, logger: loggerOverride, }?: { aiServiceUrl?: string; logger?: (...messages: unknown[]) => void; }): Promise; //# sourceMappingURL=ai-service-events.d.mts.map