import { UmbControllerBase } from '../../../libs/class-api/index.js'; export interface UmbPreviewControllerArgs { urlProviderAlias: string; unique: string; culture?: string | null; segment?: string | null; } export declare class UmbPreviewController extends UmbControllerBase { #private; /** * Opens a preview window for the given document, reusing an existing window when one is already * open for the same document and URL provider. If no preview URL can be resolved, an error notification * is shown and an error is thrown. * @param {UmbPreviewControllerArgs} args - The preview arguments. * @param {string} args.urlProviderAlias - The alias of the URL provider used to resolve the preview URL. * @param {string} args.unique - The unique identifier of the document to preview. * @param {string | null | undefined} args.culture - The culture to preview, or null/undefined for the default culture. * @param {string | null | undefined} args.segment - The segment to preview, or null/undefined for no segment. * @returns {Promise} Resolves once the preview window has been opened or focused. * @memberof UmbPreviewController */ preview(args: UmbPreviewControllerArgs): Promise; }