import type { Logger } from '@agentuity/core';
import { type DeploymentState } from '@agentuity/server';
import type { APIClient } from '../../../api.ts';
import type { Config } from '../../../types.ts';
export declare function parseDurationMs(duration: string): number;
export interface WaitForDeploymentParams {
    apiClient: APIClient;
    projectId: string;
    deploymentId: string;
    config: Config | null | undefined;
    logger: Logger;
    timeoutMs: number;
    pollIntervalMs?: number;
    abortSignal?: AbortSignal;
    includeRecentLogsOnFailure?: boolean;
    recentLogLines?: number;
    projectDir?: string;
}
export interface WaitForDeploymentResult {
    success: boolean;
    timedOut: boolean;
    state: DeploymentState;
    deploymentId: string;
    projectId: string;
    active: boolean;
    urls: {
        dashboard: string;
        app?: string;
        custom?: string[];
    };
    recentLogs?: string[];
    message?: string;
}
export declare function waitForDeployment(params: WaitForDeploymentParams): Promise<WaitForDeploymentResult>;
//# sourceMappingURL=wait-core.d.ts.map