import type { AuthProviderReport, ProviderAdapter, ProviderOptions, ProviderQuota, QuotaWindow } from "../types.js"; type AgyProcessSource = "agy" | "app"; export type AgyProcessInfo = { pid: number; command: string; source: AgyProcessSource; csrfToken?: string; extensionPort?: number; extensionServerCsrfToken?: string; }; export type AgyConnectionEndpoint = { scheme: "https" | "http"; port: number; source: AgyProcessSource; pid: number; csrfToken?: string; requiresCsrfToken: boolean; requiresUnleashProbe: boolean; }; export type AgyProbeRuntime = { execFileText(command: string, args: string[], timeoutMs: number): Promise; requestJson(endpoint: AgyConnectionEndpoint, path: string, timeoutMs: number): Promise; }; export declare const agyAdapter: ProviderAdapter; export declare function fetchQuota(_options: ProviderOptions): Promise; export declare function fetchQuotaWithRuntime(runtime: AgyProbeRuntime): Promise; export declare function inspectAuth(_options: ProviderOptions): Promise; export declare function inspectAuthWithRuntime(runtime: AgyProbeRuntime): Promise; export declare function normalizeAgyQuotaSummary(raw: unknown): { windows: QuotaWindow[]; refreshedAt: string; } | undefined; export declare function normalizeAgyUserStatus(raw: unknown): { plan?: string; account?: ProviderQuota["account"]; windows: QuotaWindow[]; refreshedAt: string; } | undefined; export declare function processInfosFromPs(output: string): AgyProcessInfo[]; export declare function portsFromLsof(output: string): number[]; export declare function requestLoopbackJson(endpoint: AgyConnectionEndpoint, path: string, timeoutMs: number): Promise; export {};