import type { OrderWithRelations } from '../types'; export interface UseCustomerOrdersOptions { customerId?: string | null; enabled?: boolean; } export interface UseCustomerOrdersResult { data: { orders: OrderWithRelations[]; } | null; isLoading: boolean; error: Error | null; refetch: () => Promise; } export declare function useCustomerOrders(options: UseCustomerOrdersOptions): UseCustomerOrdersResult;