import { CloudDeploymentStatus } from '../../../../packages/core/src/domain/generated/output.js';
import type { CloudDeploymentProvider } from '../../../../packages/core/src/domain/generated/output.js';
export interface CloudDeployActionState {
    provider: CloudDeploymentProvider | null;
    status: CloudDeploymentStatus;
    url: string | null;
    error: string | null;
    deploymentId: string | null;
    lastDeployedAt: Date | null;
    isWorking: boolean;
}
export interface CloudDeployActionApi {
    state: CloudDeployActionState;
    refresh(): Promise<void>;
    selectProvider(provider: CloudDeploymentProvider): Promise<void>;
    initiate(): Promise<void>;
    connect(provider: CloudDeploymentProvider, token: string): Promise<void>;
}
export declare function useCloudDeployAction(applicationId: string): CloudDeployActionApi;
//# sourceMappingURL=use-cloud-deploy-action.d.ts.map