/** @packageDocumentation * @module ContentView */ import type { IModelConnection, ViewState } from "@itwin/core-frontend"; import type { ContentCallback, ContentGroup, ContentGroupProps } from "./ContentGroup.js"; import type { ContentLayoutDef } from "./ContentLayout.js"; import type { ViewStateHelperProps } from "./ViewStateHelper.js"; import type { ContentLayoutProps } from "./ContentLayoutProps.js"; /** StageContentLayoutProps interface for sharing view layout information. * @public */ export interface StageContentLayoutProps { contentLayoutProps?: ContentLayoutProps; contentGroupProps: ContentGroupProps; viewStateProps: ViewStateHelperProps[]; } /** ViewLayout interface for sharing view layout information. * @public */ export interface ViewLayout { contentLayoutDef: ContentLayoutDef; contentGroup: ContentGroup; viewStates: Array; } /** StageContentLayout class. Used to serialize/deserialize a View Layout with Saved Views. * @public */ export declare class StageContentLayout { /** Create props for a View Layout */ static viewLayoutToProps(contentLayoutDef: ContentLayoutDef, contentGroup: ContentGroup, emphasizeElements?: boolean, contentCallback?: ContentCallback): StageContentLayoutProps; /** Create an array of ViewStates from the StageContentLayout */ static viewStatesFromProps(iModelConnection: IModelConnection, savedProps: StageContentLayoutProps): Promise>; /** Apply EmphasizeElements from the SavedView */ static emphasizeElementsFromProps(contentGroup: ContentGroup, savedProps: StageContentLayoutProps): boolean; } //# sourceMappingURL=StageContentLayout.d.ts.map