import { OAuthConfig } from '@keen.io/ui-core'; export declare type OAuthSignUpConfig = { callbackHandlerHost: string; requestInitiatorUrl: string; } & OAuthConfig; export declare type Options = { container: HTMLElement | string; offerHandle: string; ctaLabel: string; apiUrl: string; onSuccess: () => void; useOAuthProviders?: boolean; utmCookies?: string[]; oauthConfig?: OAuthSignUpConfig; }; export declare type FormValues = { firstName: string; lastName: string; password: string; email: string; companyDisclaimer: boolean; companyName: string; }; export declare type SuccessResponse = { email: string; organization_id: string; project_id: string; user_id: string; }; export declare type ErrorResponse = { field_errors: Record; status_code: number; }; export declare enum OAuthError { OAUTH_401 = "oauth_401", OAUTH_409 = "oauth_409", OAUTH_500 = "oauth_500" } export declare type SignupResponse = SuccessResponse | ErrorResponse; export declare type SignupError = { status: number; message: string; data: { errors?: Record; }; }; export declare type User = { organizationId: string; };