import { type ICustomWidget } from "../../model/types/layoutTypes.js"; /** * @alpha */ export interface IKpiPlaceholderWidget extends ICustomWidget { readonly customType: "gd-kpi-placeholder"; } /** * Tests whether an object is a {@link IKpiPlaceholderWidget}. * * @param obj - object to test * @alpha */ export declare function isKpiPlaceholderWidget(obj: unknown): obj is IKpiPlaceholderWidget; /** * @internal */ export declare const KPI_PLACEHOLDER_WIDGET_ID = "__kpiPlaceholder__"; /** * @alpha */ export declare function newKpiPlaceholderWidget(): IKpiPlaceholderWidget; /** * @alpha */ export interface IInsightPlaceholderWidget extends ICustomWidget { readonly customType: "gd-insight-placeholder"; } /** * Tests whether an object is a {@link IInsightPlaceholderWidget}. * * @param obj - object to test * @alpha */ export declare function isInsightPlaceholderWidget(obj: unknown): obj is IInsightPlaceholderWidget; /** * @internal */ export declare const INSIGHT_PLACEHOLDER_WIDGET_ID = "__insightPlaceholder__"; /** * @alpha */ export declare function newInsightPlaceholderWidget(): IInsightPlaceholderWidget; /** * @alpha */ export interface IPlaceholderWidget extends ICustomWidget { readonly customType: "gd-widget-placeholder"; readonly isInitial?: boolean; readonly isLoading?: boolean; } /** * Tests whether an object is a {@link IPlaceholderWidget}. * * @param obj - object to test * @alpha */ export declare function isPlaceholderWidget(obj: unknown): obj is IPlaceholderWidget; /** * Tests whether an object is a {@link IPlaceholderWidget} and is initial. * * @param obj - object to test * @internal */ export declare function isInitialPlaceholderWidget(obj: unknown): obj is IPlaceholderWidget; /** * Tests whether an object is a {@link IPlaceholderWidget} and is loading. * * @param obj - object to test * @internal */ export declare function isLoadingPlaceholderWidget(obj: unknown): obj is IPlaceholderWidget; /** * @internal */ export declare const PLACEHOLDER_WIDGET_ID = "__placeholder__"; /** * @alpha */ export declare function newPlaceholderWidget(): IPlaceholderWidget; /** * @internal */ export declare function newInitialPlaceholderWidget(): IPlaceholderWidget; /** * @internal */ export declare function newLoadingPlaceholderWidget(): IPlaceholderWidget; /** * Tests whether an object is any type of placeholder widgets. * * @param obj - object to test * @alpha */ export declare function isAnyPlaceholderWidget(obj: unknown): obj is IPlaceholderWidget | IInsightPlaceholderWidget | IKpiPlaceholderWidget; //# sourceMappingURL=types.d.ts.map