import * as _angular_core from '@angular/core'; import { Signal } from '@angular/core'; import * as ng_primitives_state from 'ng-primitives/state'; /** * Apply the `ngpAutofill` directive to an element to detect browser autofill. */ declare class NgpAutofill { /** * Event emitted when the autofill state changes. */ readonly autofillChange: _angular_core.OutputEmitterRef; /** * The autofill state. */ private readonly state; /** * Whether the element is autofilled. */ readonly autofilled: _angular_core.WritableSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } interface NgpAutofillState { /** * Whether the element is autofilled. */ readonly autofilled: Signal; } interface NgpAutofillProps { /** * Callback fired when the autofill state changes. */ onAutofillChange?: (value: boolean) => void; } declare const NgpAutofillStateToken: _angular_core.InjectionToken<_angular_core.WritableSignal<{ autofilled: _angular_core.WritableSignal; }>>; declare const ngpAutofill: ({ onAutofillChange }: NgpAutofillProps) => { autofilled: _angular_core.WritableSignal; }; declare const injectAutofillState: { (): Signal<{ autofilled: _angular_core.WritableSignal; }>; (options: ng_primitives_state.StateInjectionOptions): Signal<{ autofilled: _angular_core.WritableSignal; } | null>; (options?: ng_primitives_state.StateInjectionOptions): Signal<{ autofilled: _angular_core.WritableSignal; }> | Signal<{ autofilled: _angular_core.WritableSignal; } | null>; }; declare const provideAutofillState: (opts?: { inherit?: boolean; }) => _angular_core.FactoryProvider; export { NgpAutofill, NgpAutofillStateToken, injectAutofillState, ngpAutofill, provideAutofillState }; export type { NgpAutofillProps, NgpAutofillState };