import React from 'react'; import type { AddPassButtonProps, AddPassResultEvent } from './types'; /** * Check if its possible to add pass on the device */ export declare const canAddPasses: () => Promise; /** * Provide a base64 encoded pass to add it to wallet */ export declare const addPass: (base64encodedPass: string) => Promise; /** * iOS only. Provide a base64 encoded pass to check if wallet contains it already */ export declare const containsPass: (base64encodedPass: string) => Promise; /** * Android only. Provide a JWT signed pass */ export declare const addPassJWT: (passJWT: string) => Promise; export declare const AddPassButton: React.FC; /** * Listener add pass result status. Can send error with message */ export declare const addPassResultListener: (cb: (event: AddPassResultEvent) => void) => () => void; /** * Hook wrapper over addPassResultListener */ export declare const useAddPassResult: () => AddPassResultEvent | undefined; //# sourceMappingURL=index.d.ts.map