UNPKG

@aws-amplify/auth

Version:
16 lines (15 loc) 1.45 kB
import { HttpResponse } from '@aws-amplify/core/internals/aws-client-utils'; import { ServiceClientFactoryInput, SignUpCommandOutput } from './types'; export declare const createSignUpClientDeserializer: () => ((response: HttpResponse) => Promise<SignUpCommandOutput>); export declare const createSignUpClient: (config: ServiceClientFactoryInput) => (config: { endpointResolver?: (((options: import("@aws-amplify/core/internals/aws-client-utils").EndpointResolverOptions, input?: any) => import("@aws-amplify/core/internals/aws-client-utils").Endpoint) & ((options: import("@aws-amplify/core/internals/aws-client-utils").EndpointResolverOptions) => { url: URL; })) | undefined; service?: string | undefined; retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined; computeDelay?: ((attempt: number) => number) | undefined; userAgentValue?: string | undefined; cache?: "default" | "no-store" | "force-cache" | "no-cache" | "only-if-cached" | "reload" | undefined; } & { [x: string]: unknown; }, input: import("./types").SignUpRequest) => Promise<SignUpCommandOutput>;