import { PendingPaymentStatus } from "../../../graphql.billing.autogenerated";
export default function usePendingPayments(): {
    getPendingPayment: (list: {
        __typename?: "PendingPayment" | undefined;
        id: number;
        status: PendingPaymentStatus;
        failureReason?: string | null | undefined;
        paymentMethodId?: number | null | undefined;
        planId?: number | null | undefined;
        transactionId?: number | null | undefined;
        isSetupIntent: boolean;
        isRenewal: boolean;
        term: string;
        createdAt: any;
        updatedAt: any;
        completedAt?: any;
    }[]) => {
        __typename?: "PendingPayment" | undefined;
        id: number;
        status: PendingPaymentStatus;
        failureReason?: string | null | undefined;
        paymentMethodId?: number | null | undefined;
        planId?: number | null | undefined;
        transactionId?: number | null | undefined;
        isSetupIntent: boolean;
        isRenewal: boolean;
        term: string;
        createdAt: any;
        updatedAt: any;
        completedAt?: any;
    } | undefined;
    pendingPayment: {
        __typename?: "PendingPayment" | undefined;
        id: number;
        status: PendingPaymentStatus;
        failureReason?: string | null | undefined;
        paymentMethodId?: number | null | undefined;
        planId?: number | null | undefined;
        transactionId?: number | null | undefined;
        isSetupIntent: boolean;
        isRenewal: boolean;
        term: string;
        createdAt: any;
        updatedAt: any;
        completedAt?: any;
    } | undefined;
    mutatePendingPayments: (variables?: Partial<import("../../../graphql.billing.autogenerated").Exact<{
        input: import("../../../graphql.billing.autogenerated").PendingPaymentsInput;
    }>> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<import("../../../graphql.billing.autogenerated").PendingPaymentsQuery>>;
    handleCancelPayment: (id: number) => Promise<void>;
};
