import type { GetOrgUsageReportOutput } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/io_pb";
/** Export format for the CSV download. */
export type ExportFormat = "daily_summary" | "model_breakdown";
/** Return value of {@link useExportCSV}. */
export interface UseExportCSVReturn {
    /** Trigger a CSV download for the given format. */
    readonly exportCSV: (format: ExportFormat) => void;
    /** Whether an export is being generated. */
    readonly isExporting: boolean;
}
/**
 * Behavior hook that generates and downloads usage data as CSV.
 *
 * Operates entirely client-side from data already in memory — no
 * additional RPC calls. Supports two formats:
 * - `daily_summary` — one row per day with date, executions, tokens, cost
 * - `model_breakdown` — one row per model with calls, tokens, cost
 *
 * @param report - The org usage report data (from `useOrgUsageReport`).
 * @param orgId - Organization ID for the filename.
 */
export declare function useExportCSV(report: GetOrgUsageReportOutput | null, orgId: string): UseExportCSVReturn;
//# sourceMappingURL=useExportCSV.d.ts.map