import { a as CustomerExpandOption, C as CustomerData, b as Customer } from '../cusTypes-sh5_cN7N.js';
import { CreateEntityParams } from './types.js';
import { AutumnClientError } from '../types.js';
import 'react';
import '../clientEntTypes-pqnB95m3.js';
import '../entTypes-BDqnMLZ4.js';

interface UseCustomerProps {
    expand?: CustomerExpandOption[];
    autoCreate?: boolean;
    encryptedCustomerId?: string;
    customerData?: CustomerData;
    errorOnNotFound?: boolean;
}
declare const useCustomer: (options?: UseCustomerProps) => {
    customer: Customer | null;
    isLoading: boolean;
    error: AutumnClientError | null;
    refetch: () => Promise<void>;
    createEntity: (params: CreateEntityParams | CreateEntityParams[]) => Promise<any>;
    deleteEntity: (entityId: string) => Promise<any>;
};

export { type UseCustomerProps, useCustomer };
