import type { TelemetryMetrics } from "@danielblomma/cortex-core/telemetry/collector"; export type PushResult = { success: boolean; status?: number; error?: string; pushed_at?: string; }; export type PushContext = { session_id?: string; }; export declare function getLastPush(): PushResult | null; /** * Push aggregated metrics to the Cortex Cloud API. * Connected edition only. Returns success/failure. * * The actual cloud API is built in Phase 4 — this sends a POST * with JSON body and expects a 2xx response. */ export declare function pushMetrics(metrics: TelemetryMetrics, endpoint: string, apiKey: string, context?: PushContext): Promise; //# sourceMappingURL=sync.d.ts.map