import { LineItemDTO, OrderDTO, OrderDTOStatusEnum, CustomLineItemDTO, AddressDTO } from '@sentecacommerce/sdk';
declare type TrackingProp = {
    provider?: string;
    trackingId?: string;
    trackingUrl?: string;
};
export declare type MappedCustomLineItemDTO = CustomLineItemDTO & {
    name: string;
};
declare type UseOrderProps = {
    lineItems?: LineItemDTO[];
    lineItemsCount: number;
    createdAt?: number;
    orderRefNumber?: string;
    status?: OrderDTOStatusEnum;
    discountCodes?: string[];
    shippingMethod: {
        isOffice: boolean;
        isAddress: boolean;
    };
    trackingData: TrackingProp[];
    customLineItems?: MappedCustomLineItemDTO[];
    shippingAddress: AddressDTO;
    billingAddress?: AddressDTO;
};
export declare const useOrder: ({ data, id, }: {
    data?: OrderDTO | undefined;
    id?: string | undefined;
}) => UseOrderProps;
export {};
