import { type OptionalTitleComponentProvider, type TitleComponentProvider } from "../../presentation/dashboardContexts/types.js"; import { type CustomTitleComponent } from "../../presentation/topBar/title/types.js"; import { type ITitleCustomizer } from "../customizer.js"; import { type IDashboardCustomizationLogger } from "./customizationLogging.js"; import { type CustomizerMutationsContext } from "./types.js"; interface ITitleCustomizerResult { TitleComponent: CustomTitleComponent | undefined; } /** * Default implementation of the Title rendering customizer. Notice that the state of the customizations * is kept separate from this class. * * This code is responsible for creation of the providers (if needed) and then updating the state * accordingly. The customizer state methods are responsible for doing correct updates of the state itself. This * decoupling is in place so that it is possible to seal the state and prevent write operations from some point * onward. See {@link SealedTitleCustomizerState} for more motivation behind this. * * @internal */ export declare class DefaultTitleCustomizer implements ITitleCustomizer { private readonly logger; private readonly mutationContext; private state; private updated; constructor(logger: IDashboardCustomizationLogger, mutationContext: CustomizerMutationsContext, defaultProvider?: TitleComponentProvider); withCustomProvider: (provider: (props: import("../../presentation/topBar/title/types.js").ITitleProps) => CustomTitleComponent | undefined) => ITitleCustomizer; withCustomDecorator(providerFactory: (next: TitleComponentProvider) => OptionalTitleComponentProvider): ITitleCustomizer; getCustomizerResult: () => ITitleCustomizerResult; sealCustomizer: () => void; } export {}; //# sourceMappingURL=titleCustomizer.d.ts.map