import { type OptionalRichTextComponentProvider, type RichTextComponentProvider } from "../../presentation/dashboardContexts/types.js"; import { type IRichTextCustomizer } from "../customizer.js"; import { type IDashboardCustomizationLogger } from "./customizationLogging.js"; import { type CustomizerMutationsContext } from "./types.js"; /** * Default implementation of the RichText 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 SealedRichTextCustomizerState} for more motivation behind this. * * @internal */ export declare class DefaultRichTextCustomizer implements IRichTextCustomizer { private readonly logger; private readonly mutationContext; private state; constructor(logger: IDashboardCustomizationLogger, mutationContext: CustomizerMutationsContext, defaultProvider?: RichTextComponentProvider); withCustomProvider: (provider: (widget: import("@gooddata/sdk-model").IRichTextWidget) => import("../../index.js").CustomDashboardRichTextComponent | undefined) => IRichTextCustomizer; withCustomDecorator(providerFactory: (next: RichTextComponentProvider) => OptionalRichTextComponentProvider): IRichTextCustomizer; getRichTextComponentProvider: () => (widget: import("@gooddata/sdk-model").IRichTextWidget) => import("../../index.js").CustomDashboardRichTextComponent | undefined; sealCustomizer: () => void; } //# sourceMappingURL=richTextCustomizer.d.ts.map