import type { Logger } from '@agentuity/core';
import { type DeploymentLog } from '@agentuity/server';
import type { APIClient } from '../../../api.ts';
import type { Config } from '../../../types.ts';
export declare function parseDurationMs(duration: string): number;
export interface FollowDeploymentLogsParams {
    apiClient: APIClient;
    projectId: string;
    deploymentId: string;
    config: Config | null | undefined;
    logger: Logger;
    sinceMs?: number;
    timeoutMs?: number;
    pollIntervalMs?: number;
    json?: boolean;
    showTimestamps?: boolean;
    writable?: NodeJS.WritableStream;
    abortSignal?: AbortSignal;
    projectDir?: string;
}
export interface FollowDeploymentLogsResult {
    deploymentId: string;
    projectId: string;
    logs: DeploymentLog[];
    timedOut: boolean;
    state?: string;
    bytesRead: number;
}
export declare function followDeploymentLogs(params: FollowDeploymentLogsParams): Promise<FollowDeploymentLogsResult>;
//# sourceMappingURL=follow-logs.d.ts.map