import type * as cxapi from '@aws-cdk/cloud-assembly-api';
import * as make from './message-maker';
import type { DiagnosedStack } from '../../../actions/diagnose';
import type { StackDiff, DiffResult } from '../../../payloads';
import type { BootstrapEnvironmentProgress } from '../../../payloads/bootstrap-environment-progress';
import type { MissingContext, UpdatedContext } from '../../../payloads/context';
import type { BuildAsset, DeployConfirmationRequest, PublishAsset, PublishAssetEvent, StackDeployProgress, SuccessfulDeployStackResult } from '../../../payloads/deploy';
import type { StackDestroy, StackDestroyProgress } from '../../../payloads/destroy';
import type { DriftResultPayload } from '../../../payloads/drift';
import type { FeatureFlagChangeRequest } from '../../../payloads/flags';
import type { AssetBatchDeletionRequest } from '../../../payloads/gc';
import type { HotswapDeploymentDetails, HotswapDeploymentAttempt, HotswappableChange, HotswapResult } from '../../../payloads/hotswap';
import type { ResourceIdentificationRequest, ResourceImportRequest } from '../../../payloads/import';
import type { StackDetailsPayload } from '../../../payloads/list';
import type { CloudWatchLogEvent, CloudWatchLogMonitorControlEvent } from '../../../payloads/logs-monitor';
import type { AssetsPayload } from '../../../payloads/publish-assets';
import type { RefactorResult } from '../../../payloads/refactor';
import type { StackRollbackProgress } from '../../../payloads/rollback';
import type { MfaTokenRequest, SdkTrace } from '../../../payloads/sdk';
import type { StackActivity, StackMonitoringControlEvent } from '../../../payloads/stack-activity';
import type { StackSelectionDetails } from '../../../payloads/synth';
import type { AssemblyData, ConfirmationRequest, ContextProviderMessageSource, Duration, ErrorPayload, Operation, SingleStack, StackAndAssemblyData } from '../../../payloads/types';
import type { FileWatchEvent, WatchSettings } from '../../../payloads/watch';
/**
 * We have a rough system by which we assign message codes:
 * - First digit groups messages by action, e.g. synth or deploy
 * - X000-X009 are reserved for timings
 * - X900-X999 are reserved for results
 */
export declare const IO: {
    CDK_TOOLKIT_W0100: make.IoMessageMaker<void>;
    CDK_TOOLKIT_I1000: make.IoMessageMaker<Operation>;
    CDK_TOOLKIT_I1001: make.IoMessageMaker<StackSelectionDetails>;
    CDK_TOOLKIT_I1901: make.IoMessageMaker<StackAndAssemblyData>;
    CDK_TOOLKIT_I1902: make.IoMessageMaker<AssemblyData>;
    CDK_TOOLKIT_I2901: make.IoMessageMaker<StackDetailsPayload>;
    CDK_TOOLKIT_I3100: make.IoRequestMaker<ResourceImportRequest, boolean>;
    CDK_TOOLKIT_I3110: make.IoRequestMaker<ResourceIdentificationRequest, string>;
    CDK_TOOLKIT_E3900: make.IoMessageMaker<ErrorPayload>;
    CDK_TOOLKIT_I4000: make.IoMessageMaker<StackSelectionDetails>;
    CDK_TOOLKIT_I4001: make.IoMessageMaker<DiffResult>;
    CDK_TOOLKIT_I4002: make.IoMessageMaker<StackDiff>;
    CDK_TOOLKIT_I4500: make.IoMessageMaker<StackSelectionDetails>;
    CDK_TOOLKIT_I4509: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_I4590: make.IoMessageMaker<DriftResultPayload>;
    CDK_TOOLKIT_W4591: make.IoMessageMaker<SingleStack>;
    CDK_TOOLKIT_I5000: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_I5001: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_I5002: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_W5021: make.IoMessageMaker<void>;
    CDK_TOOLKIT_W5022: make.IoMessageMaker<void>;
    CDK_TOOLKIT_I5031: make.IoMessageMaker<void>;
    CDK_TOOLKIT_I5032: make.IoMessageMaker<CloudWatchLogMonitorControlEvent>;
    CDK_TOOLKIT_I5033: make.IoMessageMaker<CloudWatchLogEvent>;
    CDK_TOOLKIT_I5034: make.IoMessageMaker<CloudWatchLogMonitorControlEvent>;
    CDK_TOOLKIT_E5035: make.IoMessageMaker<ErrorPayload>;
    CDK_TOOLKIT_I5050: make.IoRequestMaker<ConfirmationRequest, boolean>;
    CDK_TOOLKIT_I5060: make.IoRequestMaker<DeployConfirmationRequest, boolean>;
    CDK_TOOLKIT_I5100: make.IoMessageMaker<StackDeployProgress>;
    CDK_TOOLKIT_I5210: make.IoMessageMaker<BuildAsset>;
    CDK_TOOLKIT_I5211: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_I5220: make.IoMessageMaker<PublishAsset>;
    CDK_TOOLKIT_I5221: make.IoMessageMaker<Duration>;
    CDK_ASSETS_I5270: make.IoMessageMaker<PublishAssetEvent>;
    CDK_ASSETS_I5271: make.IoMessageMaker<PublishAssetEvent>;
    CDK_ASSETS_I5275: make.IoMessageMaker<PublishAssetEvent>;
    CDK_ASSETS_E5279: make.IoMessageMaker<PublishAssetEvent>;
    CDK_TOOLKIT_I5310: make.IoMessageMaker<WatchSettings>;
    CDK_TOOLKIT_I5311: make.IoMessageMaker<FileWatchEvent>;
    CDK_TOOLKIT_I5312: make.IoMessageMaker<FileWatchEvent>;
    CDK_TOOLKIT_I5313: make.IoMessageMaker<FileWatchEvent>;
    CDK_TOOLKIT_I5314: make.IoMessageMaker<void>;
    CDK_TOOLKIT_I5315: make.IoMessageMaker<void>;
    CDK_TOOLKIT_I5400: make.IoMessageMaker<HotswapDeploymentAttempt>;
    CDK_TOOLKIT_I5401: make.IoMessageMaker<HotswapDeploymentDetails>;
    CDK_TOOLKIT_I5402: make.IoMessageMaker<HotswappableChange>;
    CDK_TOOLKIT_I5403: make.IoMessageMaker<HotswappableChange>;
    CDK_TOOLKIT_I5410: make.IoMessageMaker<HotswapResult>;
    CDK_TOOLKIT_I5501: make.IoMessageMaker<StackMonitoringControlEvent>;
    CDK_TOOLKIT_I5502: make.IoMessageMaker<StackActivity>;
    CDK_TOOLKIT_I5503: make.IoMessageMaker<StackMonitoringControlEvent>;
    CDK_TOOLKIT_I5900: make.IoMessageMaker<SuccessfulDeployStackResult>;
    CDK_TOOLKIT_I5901: make.IoMessageMaker<void>;
    CDK_TOOLKIT_W5400: make.IoMessageMaker<void>;
    CDK_TOOLKIT_E5001: make.IoMessageMaker<void>;
    CDK_TOOLKIT_E5500: make.IoMessageMaker<ErrorPayload>;
    CDK_TOOLKIT_I6000: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_I6100: make.IoMessageMaker<StackRollbackProgress>;
    CDK_TOOLKIT_E6001: make.IoMessageMaker<void>;
    CDK_TOOLKIT_E6900: make.IoMessageMaker<ErrorPayload>;
    CDK_TOOLKIT_I7000: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_I7001: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_I7010: make.IoRequestMaker<ConfirmationRequest, boolean>;
    CDK_TOOLKIT_I7100: make.IoMessageMaker<StackDestroyProgress>;
    CDK_TOOLKIT_I7101: make.IoMessageMaker<StackDestroy>;
    CDK_TOOLKIT_I7900: make.IoMessageMaker<cxapi.CloudFormationStackArtifact>;
    CDK_TOOLKIT_E7010: make.IoMessageMaker<void>;
    CDK_TOOLKIT_E7900: make.IoMessageMaker<ErrorPayload>;
    CDK_TOOLKIT_E8900: make.IoMessageMaker<ErrorPayload>;
    CDK_TOOLKIT_I8900: make.IoMessageMaker<RefactorResult>;
    CDK_TOOLKIT_I8910: make.IoRequestMaker<ConfirmationRequest, boolean>;
    CDK_TOOLKIT_W8010: make.IoMessageMaker<void>;
    CDK_TOOLKIT_I8810: make.IoRequestMaker<ConfirmationRequest, boolean>;
    CDK_TOOLKIT_I9000: make.IoMessageMaker<Duration>;
    CDK_TOOLKIT_I9100: make.IoMessageMaker<BootstrapEnvironmentProgress>;
    CDK_TOOLKIT_I9210: make.IoRequestMaker<AssetBatchDeletionRequest, string>;
    CDK_TOOLKIT_I9900: make.IoMessageMaker<{
        environment: cxapi.Environment;
    }>;
    CDK_TOOLKIT_E9900: make.IoMessageMaker<ErrorPayload>;
    CDK_TOOLKIT_I9300: make.IoMessageMaker<FeatureFlagChangeRequest>;
    CDK_TOOLKIT_I9400: make.IoMessageMaker<void>;
    CDK_TOOLKIT_I9401: make.IoMessageMaker<AssetsPayload>;
    CDK_TOOLKIT_I9402: make.IoMessageMaker<AssetsPayload>;
    CDK_TOOLKIT_I9500: make.IoMessageMaker<DiagnosedStack>;
    CDK_TOOLKIT_E9500: make.IoMessageMaker<DiagnosedStack>;
    CDK_TOOLKIT_W9501: make.IoMessageMaker<DiagnosedStack>;
    CDK_TOOLKIT_I0100: make.IoMessageMaker<void>;
    CDK_TOOLKIT_W0101: make.IoMessageMaker<void>;
    CDK_TOOLKIT_E0101: make.IoMessageMaker<void>;
    CDK_TOOLKIT_I0101: make.IoMessageMaker<void>;
    CDK_ASSEMBLY_I0010: make.IoMessageMaker<void>;
    CDK_ASSEMBLY_W0010: make.IoMessageMaker<void>;
    CDK_ASSEMBLY_I0042: make.IoMessageMaker<UpdatedContext>;
    CDK_ASSEMBLY_I0240: make.IoMessageMaker<MissingContext>;
    CDK_ASSEMBLY_I0241: make.IoMessageMaker<MissingContext>;
    CDK_ASSEMBLY_I1000: make.IoMessageMaker<void>;
    CDK_ASSEMBLY_I1001: make.IoMessageMaker<void>;
    CDK_ASSEMBLY_E1002: make.IoMessageMaker<void>;
    CDK_ASSEMBLY_I1003: make.IoMessageMaker<void>;
    CDK_ASSEMBLY_E1111: make.IoMessageMaker<ErrorPayload>;
    CDK_ASSEMBLY_I0150: make.IoMessageMaker<never>;
    CDK_ASSEMBLY_I0300: make.IoMessageMaker<ContextProviderMessageSource>;
    CDK_ASSEMBLY_I0301: make.IoMessageMaker<ContextProviderMessageSource>;
    CDK_ASSEMBLY_I9999: make.IoMessageMaker<cxapi.SynthesisMessage>;
    CDK_ASSEMBLY_W9999: make.IoMessageMaker<cxapi.SynthesisMessage>;
    CDK_ASSEMBLY_E9999: make.IoMessageMaker<cxapi.SynthesisMessage>;
    CDK_SDK_I0100: make.IoMessageMaker<SdkTrace>;
    CDK_SDK_I1100: make.IoRequestMaker<MfaTokenRequest, string>;
};
/**
 * Payload type of the end message must extend Duration
 */
export declare const SPAN: {
    SYNTH_ASSEMBLY: {
        name: string;
        start: make.IoMessageMaker<StackSelectionDetails>;
        end: make.IoMessageMaker<Operation>;
    };
    DEPLOY_STACK: {
        name: string;
        start: make.IoMessageMaker<StackDeployProgress>;
        end: make.IoMessageMaker<Duration>;
    };
    ROLLBACK_STACK: {
        name: string;
        start: make.IoMessageMaker<StackRollbackProgress>;
        end: make.IoMessageMaker<Duration>;
    };
    DIFF_STACK: {
        name: string;
        start: make.IoMessageMaker<StackSelectionDetails>;
        end: make.IoMessageMaker<DiffResult>;
    };
    DRIFT_APP: {
        name: string;
        start: make.IoMessageMaker<StackSelectionDetails>;
        end: make.IoMessageMaker<Duration>;
    };
    DESTROY_STACK: {
        name: string;
        start: make.IoMessageMaker<StackDestroyProgress>;
        end: make.IoMessageMaker<Duration>;
    };
    DESTROY_ACTION: {
        name: string;
        start: make.IoMessageMaker<StackDestroy>;
        end: make.IoMessageMaker<Duration>;
    };
    BOOTSTRAP_SINGLE: {
        name: string;
        start: make.IoMessageMaker<BootstrapEnvironmentProgress>;
        end: make.IoMessageMaker<Duration>;
    };
    BUILD_ASSET: {
        name: string;
        start: make.IoMessageMaker<BuildAsset>;
        end: make.IoMessageMaker<Duration>;
    };
    PUBLISH_ASSET: {
        name: string;
        start: make.IoMessageMaker<PublishAsset>;
        end: make.IoMessageMaker<Duration>;
    };
    HOTSWAP: {
        name: string;
        start: make.IoMessageMaker<HotswapDeploymentAttempt>;
        end: make.IoMessageMaker<HotswapResult>;
    };
};
//# sourceMappingURL=messages.d.ts.map