/**
 * Legacy Compatibility Layer
 *
 * This module provides backward compatibility for components that
 * were using the old iapService/iapServiceWrapper APIs.
 */
import { PURCHASES_ERROR_CODE, LibraryError } from './types';
export { PURCHASES_ERROR_CODE } from './types';
export type { LibraryError } from './types';
/**
 * Create a library error (compatibility function)
 */
export declare function createLibraryError(message: string, code?: PURCHASES_ERROR_CODE, underlyingError?: any, userCancelled?: boolean): LibraryError;
/**
 * Register Stripe presenter (compatibility function)
 */
export declare function registerStripePresenter(presenter: {
    requestPresentation: (request: any) => void;
} | null): void;
export interface PaymentSheetParams {
    paymentIntent: string;
    ephemeralKey: string;
    customer: string;
}
//# sourceMappingURL=legacy-compat.d.ts.map