export interface Project {
    id: string;
    name: string;
    slug: string | null;
    organizationId: string;
    latestDeployId: string | null;
    latestDeployStatus: string | null;
    instanceUrl: string | null;
    createdAt: string | null;
    updatedAt: string | null;
}
export interface DeployStatus {
    id: string;
    status: string;
    instanceUrl: string | null;
    error: string | null;
}
export declare function fetchProjects(token: string, orgId: string): Promise<Project[]>;
export declare function createProject(token: string, orgId: string, name: string): Promise<Project>;
export interface DeployInfo {
    id: string;
    status: string;
    instanceUrl: string | null;
    error: string | null;
    projectName?: string | null;
    createdAt?: string | null;
}
export declare function fetchDeployStatus(deployId: string, token: string, orgId?: string): Promise<DeployInfo>;
export declare function uploadDeploy(token: string, orgId: string, projectId: string, zipBuffer: Buffer, meta?: {
    gitBranch?: string;
    projectName?: string;
    envVars?: Record<string, string>;
    mastraVersion?: string;
    disablePlatformObservability?: boolean;
}): Promise<{
    id: string;
    status: string;
}>;
export declare function pollDeploy(deployId: string, token: string, orgId: string, maxWaitMs?: number): Promise<DeployStatus>;
//# sourceMappingURL=platform-api.d.ts.map