import { ILayoutContextProps } from '../components/CdsLayout/context'; import { PropType, Ref, ComputedRef, CSSProperties } from 'vue'; export interface ILayoutProps { modelValue: boolean; reveal: boolean; revealOffset: number; bordered: boolean; elevated: boolean; height: string | number; } export interface IUseLayout { layout: ILayoutContextProps; size: Ref; revealed: Ref; fixed: Ref; windowHeight: Ref; containerHeight: ComputedRef; offset: ComputedRef; hidden: ComputedRef; revealOnFocus: ComputedRef; classes: ComputedRef>; style: Ref; updateLocal: (prop: Ref, value: any) => void; updateRevealed: () => void; onResize: (rect: Pick) => void; } export declare const makeLayoutProps: (defaults?: Defaults | undefined) => import('../utils').AppendDefault<{ /** * Видимость элемента */ modelValue: { type: PropType; default: boolean; }; /** * Плавающий элемент */ reveal: { type: PropType; default: boolean; }; /** * Отступ для плавающего элемента */ revealOffset: { type: PropType; default: number; }; /** * Отображение границы */ bordered: { type: PropType; default: boolean; }; /** * Отображение тени */ elevated: { type: PropType; default: boolean; }; /** * Высота элемента */ height: { type: PropType; default: number; }; }, Defaults>; export declare function useLayout(props: ILayoutProps, componentName: string, view?: 'H' | 'F'): IUseLayout;