import { EventEmitter, TemplateRef } from '@angular/core'; import { IonRefresher } from '@ionic/angular/standalone'; import { RefresherMetadata, RefresherState, RefreshEvent, RefreshPullEvent } from './types'; import * as i0 from "@angular/core"; /** * Componente de pull-to-refresh para movil y web. * * @example * * * * * * * * @example * * * *
* *
*
* ... *
*/ export declare class RefresherComponent { ionRefresher: IonRefresher; /** Templates personalizados via content projection */ pullingIndicator?: TemplateRef<{ progress: number; }>; refreshingIndicator?: TemplateRef; completingIndicator?: TemplateRef; /** Configuracion del refresher */ props: RefresherMetadata; /** Evento emitido cuando se activa el refresh */ refresh: EventEmitter; /** Evento de progreso durante el pull */ pullProgressChange: EventEmitter; /** Evento de cambio de estado */ stateChange: EventEmitter; private i18n; /** Estado actual del refresher */ readonly state: import("@angular/core").WritableSignal; /** Progreso actual del pull (0-1) */ readonly pullProgress: import("@angular/core").WritableSignal; /** Get pulling text with i18n fallback */ getPullingText(): string; /** Get refreshing text with i18n fallback */ getRefreshingText(): string; /** Props combinados con defaults */ get mergedProps(): RefresherMetadata; /** Si hay indicadores personalizados */ get hasCustomIndicator(): boolean; /** * Activa programaticamente el refresh. */ triggerRefresh(): void; /** * Completa la operacion de refresh actual. */ complete(): void; /** * Cancela la operacion de refresh actual. */ cancel(): void; /** Handler para evento ionRefresh */ onIonRefresh(event: CustomEvent): void; /** Handler para evento ionPull */ onIonPull(event: CustomEvent): void; /** Handler para evento ionStart */ onIonStart(): void; private emitRefreshEvent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }