import { PostConfirmationTriggerEvent } from 'aws-lambda';

/**
 * @see sites/www-docs/content/packages/@openhi/constructs/workflows/control-plane/user-onboarding/events.md
 */
declare const USER_ONBOARDING_EVENT_SOURCE = "openhi.control.user-onboarding";
declare const PROVISION_DEFAULT_WORKSPACE_DETAIL_TYPE = "ProvisionDefaultWorkspaceRequested";
interface ProvisionDefaultWorkspaceRequestedDetail {
    readonly cognitoSub: string;
    readonly userId?: string;
    readonly email?: string;
    readonly displayName?: string;
    readonly trigger: {
        readonly source: "cognito.post-confirmation";
        readonly triggerSource?: string;
        readonly userPoolId?: string;
        readonly userName?: string;
        readonly clientId?: string;
    };
}
declare const buildProvisionDefaultWorkspaceRequestedDetail: (event: PostConfirmationTriggerEvent) => ProvisionDefaultWorkspaceRequestedDetail | undefined;

export { PROVISION_DEFAULT_WORKSPACE_DETAIL_TYPE as P, USER_ONBOARDING_EVENT_SOURCE as U, type ProvisionDefaultWorkspaceRequestedDetail as a, buildProvisionDefaultWorkspaceRequestedDetail as b };
