import type { BasisTheoryInitOptionsWithElements, BasisTheoryInitOptionsWithoutElements } from '@basis-theory/basis-theory-js/types/sdk';
import type { BasisTheoryReact as IBasisTheoryReact } from '../types';
declare type UseBasisTheory<Elements extends boolean> = {
    error?: Error;
    bt?: IBasisTheoryReact<Elements>;
};
declare function useBasisTheory(apiKey?: string, options?: BasisTheoryInitOptionsWithoutElements): UseBasisTheory<true>;
declare function useBasisTheory(apiKey: string, options?: BasisTheoryInitOptionsWithoutElements): UseBasisTheory<false>;
declare function useBasisTheory(apiKey: string | undefined, options: BasisTheoryInitOptionsWithElements): UseBasisTheory<true>;
export { useBasisTheory };