import { Widget, WidgetConfig } from "../ui/Widget"; import { RenderingContext } from "../ui/RenderingContext"; import { Instance } from "../ui/Instance"; import { StringProp } from "../ui/Prop"; export interface DocumentTitleConfig extends WidgetConfig { /** Text value to be used for the document title. */ value?: StringProp; /** Text value to be used for the document title. */ text?: StringProp; /** Deprecated. Use `action: "append"` instead. */ append?: boolean; /** How to combine the title with existing document title. Default is `append`. */ action?: "append" | "replace" | "prepend"; /** Separator used when appending or prepending to the title. Default is empty string. */ separator?: StringProp; } export declare class DocumentTitle extends Widget { value?: StringProp; text?: StringProp; append?: boolean; action?: "append" | "replace" | "prepend"; separator?: StringProp; constructor(config?: DocumentTitleConfig); init(): void; declareData(...args: Record[]): void; explore(context: RenderingContext, instance: Instance): void; prepare(context: RenderingContext, instance: Instance): void; render(): null; } //# sourceMappingURL=DocumentTitle.d.ts.map