import { EnvironmentProviders, InjectionToken } from '@angular/core'; import { ValtechDonationConfig } from './types'; /** * Token de inyección para la configuración de Donation/Support. */ export declare const VALTECH_DONATION_CONFIG: InjectionToken; /** Configuración por defecto — sin métodos habilitados. */ export declare const DEFAULT_DONATION_CONFIG: Partial; /** * Provee el feature de aportes (Support) a la aplicación Angular. * * Cada app del factory declara qué métodos habilita. La vista de Support * (heredada o local) renderiza solo los métodos configurados. * * @example * ```typescript * // main.ts * provideValtechDonations({ * appId: 'showcase', * methods: ['coffee', 'bank', 'ads'], * coffee: { provider: 'buymeacoffee', url: 'https://buymeacoffee.com/valtech' }, * bank: { * accounts: [{ * country: 'CL', bank: 'Banco X', accountType: 'Cuenta Corriente', * number: '000000000', taxId: '11.111.111-1', holder: 'Valtech SpA', * email: 'aportes@valtech.com', currency: 'CLP', * }], * }, * ads: { provider: 'admob', rewardedUnitId: 'ca-app-pub-xxx' }, * }), * ``` */ export declare function provideValtechDonations(config: ValtechDonationConfig): EnvironmentProviders;