/**
 * Copilot Usage Fetcher
 *
 * Fetches usage/quota data from copilot-api `/usage` endpoint and normalizes it
 * for CLI and dashboard consumers.
 */
import type { CopilotUsage } from './types';
export declare function normalizeCopilotUsage(raw: unknown): CopilotUsage;
/**
 * Fetch Copilot usage from running copilot-api daemon.
 *
 * @returns normalized usage on success, null on daemon/network/parsing failure
 */
export declare function fetchCopilotUsageFromDaemon(port: number): Promise<CopilotUsage | null>;
export declare function getCopilotUsage(port: number): Promise<CopilotUsage | null>;
//# sourceMappingURL=copilot-usage.d.ts.map