import { WidgetCodeVerification } from "./sqm-code-verification";
export declare const VerifyEmailWithCodeMutation: string;
export declare function useCodeVerificationMutation(): readonly [(code: string) => Promise<any>, {
  readonly loading: boolean;
  readonly data: any;
  readonly errors: import("@saasquatch/component-boilerplate/dist/hooks/graphql/useBaseQuery").GraphQlRequestError<any>;
}];
export declare function useWidgetCodeVerification(props: WidgetCodeVerification): {
  refs: {
    codeWrapperRef: (value: HTMLDivElement | ((previousState?: HTMLDivElement) => HTMLDivElement)) => void;
  };
  states: {
    email: string;
    emailResent: boolean;
    resendError: import("@saasquatch/component-boilerplate/dist/hooks/graphql/useBaseQuery").GraphQlRequestError<any>;
    initialiseLoading: boolean;
    loading: boolean;
    verifyFailed: boolean;
  };
  callbacks: {
    resendEmail: () => Promise<void>;
    submitCode: () => Promise<void>;
  };
  text: WidgetCodeVerification;
};
