import { AfterViewInit } from '@angular/core';
import { type AngularDeferSlotPayload } from './defer-slot-payload';
import { type DeferSlotTemplateContext, DeferErrorTemplateDirective, DeferFallbackTemplateDirective, DeferResolvedTemplateDirective } from './defer-slot-templates.directive';
type DeferSlotState = 'error' | 'fallback' | 'resolved';
export declare class DeferSlotComponent implements AfterViewInit {
    private readonly cdr;
    private readonly runtimeReady;
    className?: string;
    id: string;
    payload?: Promise<AngularDeferSlotPayload>;
    resolvedTemplate?: DeferResolvedTemplateDirective;
    fallbackTemplate?: DeferFallbackTemplateDirective;
    errorTemplate?: DeferErrorTemplateDirective;
    readonly slotData: import("@angular/core").WritableSignal<Record<string, string>>;
    readonly state: import("@angular/core").WritableSignal<DeferSlotState>;
    readonly activeTemplate: () => import("@angular/core").TemplateRef<unknown> | null;
    readonly templateContext: () => DeferSlotTemplateContext;
    ngOnInit(): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    private applyPatchPayload;
}
export {};
