import type { Components, PageTypes, SdkInstance } from '@paypal/paypal-js/sdk-v6'; import type { HTMLAttributes, ReservedProps } from 'vue'; import type { ElementScriptTrigger } from '#nuxt-scripts/types'; import type { PayPalInput } from '../registry/paypal.js'; type __VLS_Props = { /** * Customize the root element attributes. */ rootAttrs?: HTMLAttributes & ReservedProps & Record; /** * Defines the trigger event to load the script. */ trigger?: ElementScriptTrigger; /** * Client ID or client token for PayPal SDK v6 authentication. */ clientId?: string; /** * Server-generated client token for SDK v6. */ clientToken?: string; /** * The v6 SDK components to load. * @default ['paypal-payments'] */ components?: Components[]; /** * The page type context hint. */ pageType?: PageTypes; /** * The locale for the SDK (BCP-47 code). */ locale?: string; /** * The merchant ID(s). */ merchantId?: string | string[]; /** * Partner attribution ID for revenue sharing. */ partnerAttributionId?: string; /** * The paypal script options. */ paypalScriptOptions?: Partial; }; type __VLS_Slots = { default?: (props: { sdkInstance: SdkInstance | undefined; }) => any; placeholder?: () => any; loading?: () => any; awaitingLoad?: () => any; error?: () => any; }; declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, { /** The PayPal SDK v6 instance for creating payment sessions, checking eligibility, etc. */ sdkInstance: import("vue").ShallowRef | undefined, SdkInstance | undefined>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { error: (error: unknown) => any; ready: (instance: SdkInstance) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onError?: ((error: unknown) => any) | undefined; onReady?: ((instance: SdkInstance) => any) | undefined; }>, { trigger: ElementScriptTrigger; clientId: string; components: Components[]; paypalScriptOptions: Partial; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };