import { Command } from "commander"; import type { DreamRun, DreamUsage } from "memax-sdk"; interface DreamsListOptions { limit?: string; hub?: string; format?: string; } interface DreamsReportOptions { hub?: string; format?: string; } interface DreamsTriggerOptions { hub?: string; format?: string; } interface DreamsQuotaOptions { hub?: string; format?: string; } export declare function summarizeRun(run: DreamRun): string[]; export declare function dreamsListCommand(options: DreamsListOptions): Promise; export declare function dreamsReportCommand(options: DreamsReportOptions): Promise; /** * formatQuota turns a DreamUsage snapshot into a list of lines for * terminal output. Pure for testing — printQuota wraps it with * chalk + console. * * Branching matches the web indicator's renderDreamQuotaHint: * * - limit === 0 → tier disabled; show upgrade hint * - limit === -1 → unlimited; show used count, no cap line * - !allowed at finite cap → exhausted; show used/limit + reset * - finite under cap → standard "X of Y" with remaining + reset * * Reset date is formatted in UTC (matches API contract; avoids * the off-by-one bug that bites browser clients in non-UTC zones). */ export declare function formatQuota(usage: DreamUsage): string[]; export declare function dreamsQuotaCommand(options: DreamsQuotaOptions): Promise; export declare function dreamsTriggerCommand(options: DreamsTriggerOptions): Promise; export declare function registerDreamsCommands(program: Command): void; export {}; //# sourceMappingURL=dreams.d.ts.map