import { ResourceToImport } from '@aws-sdk/client-cloudformation'; import { ForwardCategoryRefactorer } from '../workflow/forward-category-refactorer'; import { RefactorBlueprint } from '../workflow/category-refactorer'; import { CFNResource, CFNTemplate } from '../../_common/cfn-template'; import { AmplifyMigrationOperation } from '../../_common/operation'; import { SocialAuthConfig, StackFacade } from '../stack-facade'; export declare const GEN1_NATIVE_APP_CLIENT_LOGICAL_ID = "UserPoolClient"; export declare const GEN1_WEB_CLIENT_LOGICAL_ID = "UserPoolClientWeb"; export declare const GEN2_NATIVE_APP_CLIENT_LOGICAL_ID = "UserPoolNativeAppClient"; export declare const GEN2_WEB_CLIENT_LOGICAL_ID = "UserPoolAppClient"; export declare const USER_POOL_CLIENT_TYPE = "AWS::Cognito::UserPoolClient"; export declare const USER_POOL_TYPE = "AWS::Cognito::UserPool"; export declare const IDENTITY_POOL_TYPE = "AWS::Cognito::IdentityPool"; export declare const IDENTITY_POOL_ROLE_ATTACHMENT_TYPE = "AWS::Cognito::IdentityPoolRoleAttachment"; export declare const USER_POOL_DOMAIN_TYPE = "AWS::Cognito::UserPoolDomain"; export declare const USER_POOL_IDENTITY_PROVIDER_TYPE = "AWS::Cognito::UserPoolIdentityProvider"; export declare const RESOURCE_TYPES: string[]; export declare function buildImportSpec(config: SocialAuthConfig, domainLogicalId: string, idpLogicalIds: Map): { resourcesToImport: ResourceToImport[]; templateAdditions: Record; }; export declare function extractSocialAuthLogicalIds(template: CFNTemplate): { readonly domainLogicalId: string | undefined; readonly idpLogicalIds: Map; }; export declare function renderImportTable(resourcesToImport: ResourceToImport[], gen2StackName: string): string; export declare function renderOrphanTable(stackFacade: StackFacade, logicalIds: string[], template: CFNTemplate, stackName: string, variant: 'forward' | 'rollback'): Promise; export declare class AuthCognitoForwardRefactorer extends ForwardCategoryRefactorer { protected resourceTypes(): string[]; protected beforeMove(blueprint: RefactorBlueprint): Promise; protected move(blueprint: RefactorBlueprint): Promise; protected gen2LogicalId(sourceId: string, sourceResource: CFNResource, targetResources: Map): Promise; protected fetchSourceStackId(): Promise; protected fetchDestStackId(): Promise; } //# sourceMappingURL=auth-cognito-forward.d.ts.map