/**
 * Brain Hub client — sync workspace index + fetch account brain context
 * via coder.vigthoria.io (JWT-authenticated).
 */
export type BrainSyncPayload = {
    workspaceName: string;
    workspacePath: string;
    fileCount: number;
    chunkCount: number;
    topFiles: string[];
    summary: string;
    indexHash: string;
};
export type BrainContextResponse = {
    ok: boolean;
    formattedText?: string;
    memories?: Array<Record<string, unknown>>;
    error?: string;
    skipped?: boolean;
    reason?: string;
};
export declare class BrainHubClient {
    private apiBase;
    private getAuthToken;
    constructor(options: {
        apiBase?: string;
        getAuthToken: () => string | null | Promise<string | null>;
    });
    private headers;
    syncWorkspaceIndex(payload: BrainSyncPayload): Promise<Record<string, unknown>>;
    fetchAccountContext(limit?: number): Promise<BrainContextResponse>;
}
