import type { StoredCredentials } from './credentials.js';
export declare class PlatformClient {
    private baseUrl;
    private token;
    constructor(creds: StoredCredentials);
    private fetch;
    getUser(): Promise<{
        id: string;
        email: string;
        name: string;
        plan: string;
    }>;
    pushWorkflow(name: string, source: string): Promise<{
        slug: string;
        version: number;
    }>;
    deploy(slug: string): Promise<{
        slug: string;
        status: string;
    }>;
    undeploy(slug: string): Promise<void>;
    listDeployments(): Promise<Array<{
        slug: string;
        status: string;
        workflowName?: string;
    }>>;
    getUsage(): Promise<{
        executions: number;
        aiCalls: number;
        plan: string;
    }>;
    streamChat(message: string, conversationId?: string): AsyncGenerator<Record<string, unknown>>;
    validate(): Promise<boolean>;
}
export declare function createPlatformClient(creds: StoredCredentials): PlatformClient;
//# sourceMappingURL=platform-client.d.ts.map