import type { AppVersionInfo } from './app-version.js';
interface DaemonRunRecord {
    id: string;
    projectId: string | null;
    conversationId: string | null;
    assistantMessageId: string | null;
    agentId: string | null;
    status: string;
    createdAt: number;
    updatedAt: number;
    events: Array<{
        id: number;
        event: string;
        data: unknown;
        timestamp?: number;
    }>;
    userPrompt?: string;
    model?: string;
    reasoning?: string;
    skillId?: string;
    designSystemId?: string;
    clientType?: 'desktop' | 'web' | 'unknown';
}
export interface ReportRunCompletedFromDaemonOpts {
    db: unknown;
    dataDir: string;
    run: DaemonRunRecord;
    persistedRunStatus?: string;
    persistedEndedAt?: number;
    /** App version info — collected once at daemon startup and reused. */
    appVersion?: AppVersionInfo | null;
    fetchImpl?: typeof fetch;
}
export declare function reportRunCompletedFromDaemon(opts: ReportRunCompletedFromDaemonOpts): Promise<void>;
export {};
