import { Hex } from 'viem';
import { Invoice_orderBy } from './zeus';
export type SearchAddressType = string | Hex | undefined;
export type InvoiceDisplayData = {
    id: string;
    address: Hex;
    invoiceType?: string | undefined;
    chainId: number;
    network: string;
    ipfsHash: Hex;
    released: bigint;
    token: Hex;
    total: bigint;
    deposits: {
        amount: bigint;
    }[];
    releases: {
        amount: bigint;
    }[];
    amounts: bigint[];
    isLocked: boolean;
    terminationTime: bigint;
    status?: 'Awaiting Funds' | 'In Progress' | 'Locked' | 'Expired' | 'Completed';
    tokenMetadata: {
        id: string;
        decimals: number;
        name: string;
        symbol: string;
    };
    provider: Hex;
    providerReceiver: Hex;
    client: Hex;
    resolver: Hex;
};
export declare const fetchInvoices: (chainId: number, searchAddress: SearchAddressType, pageIndex: number, pageSize: number, sortBy: Invoice_orderBy, sortDesc?: boolean) => Promise<InvoiceDisplayData[]>;
