import { PaymentLinkCreationFormValues } from '../types';
import { DeepPartial, PaymentLinkFieldsVisibilityConfig } from '../../../../types';
import { StoreIds } from '../../../PaymentLinksOverview/types';
type UsePaymentLinkFormDataProps = {
    storeIds?: StoreIds;
    defaultValues?: DeepPartial<PaymentLinkCreationFormValues>;
    visibilityConfig?: PaymentLinkFieldsVisibilityConfig;
};
export declare const usePaymentLinkFormData: ({ storeIds, defaultValues, visibilityConfig }: UsePaymentLinkFormDataProps) => {
    storesData: {
        data: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["PayByLinkStoreDTO"][];
        links?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["Links"];
    } | undefined;
    configurationData: {
        amountValue: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        billingAddress?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        countryCode: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementString"];
        currency: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementString"];
        deliveryAddress?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        deliveryDate?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        description?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        emailAddress?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        linkType?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementLinkType"];
        linkValidity?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementLinkValidity"];
        merchantReference?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        phoneNumber?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        sendLinkToShopper?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        sendSuccessEmailToShopper?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        shopperLocale?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementString"];
        shopperName?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
        shopperReference?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["FieldRequirementVoid"];
    } | undefined;
    settingsData: {
        termsOfServiceUrl: string;
    } | undefined;
    selectedStore: string;
    storesSelectorItems: {
        id: string;
        name: string;
    }[];
    termsAndConditionsProvisioned: boolean;
    countriesData: {
        data: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["CountryDTO"][];
    } | undefined;
    isFetchingCountries: boolean;
    countryDatasetData: {
        id: string;
        name: string;
    }[] | undefined;
    isFetchingCountryDataset: boolean;
    formSteps: import("../../utils").FormStepConfig[];
    stepperItems: {
        id: string;
        label: string;
    }[];
    formStepsAriaLabel: string;
    wizardForm: import("../../../../../hooks/form/wizard/types").UseWizardFormReturn<PaymentLinkCreationFormValues>;
    createPaymentLink: ((options: {
        signal?: AbortSignal | undefined;
        headers?: HeadersInit | undefined;
        body?: any;
        origin?: string | undefined;
        accept?: string | undefined;
        contentType?: string | undefined;
        errorMessage?: string | undefined;
        keepalive?: boolean | undefined;
        clientKey?: string | undefined;
        errorLevel?: import("../../../../../core/Http/types").ErrorLevel | undefined;
        errorHandler?: ((response: any) => any) | undefined;
        versionless?: boolean | undefined;
        skipContentType?: boolean | undefined;
    } & {
        contentType: "application/json";
        body: {
            amount: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["Amount"];
            billingAddress?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["CreateLinkAddressDTO"];
            countryCode: string;
            deliverAt?: string;
            deliveryAddress?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["CreateLinkAddressDTO"];
            description?: string;
            linkType?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["PaymentLinkType"];
            linkValidity: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["CreatePaymentLinkValidity"];
            reference: string;
            sendLinkToShopper?: boolean;
            sendSuccessEmailToShopper?: boolean;
            shopperEmail?: string;
            shopperLocale?: string;
            shopperName?: import("../../../../../types/api/resources/PayByLinkResource").components["schemas"]["ShopperName"];
            shopperReference?: string;
            telephoneNumber?: string;
        };
    }, args_0: {
        query?: never;
        header?: never;
        path: {
            storeId: string;
        };
        cookie?: never;
    }) => Promise<{
        paymentLinkId?: string;
        status?: string;
        updatedAt?: string;
        url?: string;
    }>) | undefined;
    isDataLoading: boolean;
    isFirstLoadDone: boolean;
    setSelectedStore: import("preact/hooks").Dispatch<import("preact/hooks").StateUpdater<string>>;
};
export {};
//# sourceMappingURL=usePaymentLinkFormData.d.ts.map