import { RenderFunction, ComputedRef, SetupContext, Ref } from 'vue' import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSizeType, VxeComponentStyleType, VxeComponentIsVScrollbar } from '@vxe-ui/core' import { VxeScrollbarProps } from './scrollbar' /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */ export declare const VxeLayoutAside: DefineVxeComponentApp export type VxeLayoutAsideComponent = DefineVxeComponentOptions export type VxeLayoutAsideInstance = DefineVxeComponentInstance export interface VxeLayoutAsideConstructor extends VxeComponentBaseOptions, VxeLayoutAsideMethods { props: VxeLayoutAsideProps context: SetupContext reactData: LayoutAsideReactData getRefMaps(): LayoutAsidePrivateRef getComputeMaps(): LayoutAsidePrivateComputed renderVN: RenderFunction } export interface LayoutAsidePrivateRef { refElem: Ref } export interface VxeLayoutAsidePrivateRef extends LayoutAsidePrivateRef {} export namespace VxeLayoutAsidePropTypes { export type Width = string | number export type Collapsed = boolean export type CollapseWidth = string | number export type Loading = boolean export type Padding = boolean export type Size = VxeComponentSizeType export interface CollapseConfig { /** * 是否显示折叠动画 */ animation?: boolean } export type UseScrollbar = VxeComponentIsVScrollbar export interface ScrollbarConfig extends Pick { /** * 滚动条宽度 */ width?: number | string /** * 滚动条高度 */ height?: number | string } } export interface VxeLayoutAsideProps { /** * 宽度 */ width?: VxeLayoutAsidePropTypes.Width /** * 是否折叠 */ collapsed?: VxeLayoutAsidePropTypes.Collapsed /** * 折叠后宽度 */ collapseWidth?: VxeLayoutAsidePropTypes.CollapseWidth /** * 加载中 */ loading?: VxeLayoutAsidePropTypes.Loading /** * 显示内边距 */ padding?: VxeLayoutAsidePropTypes.Padding size?: VxeLayoutAsidePropTypes.Size collapseConfig?: VxeLayoutAsidePropTypes.CollapseConfig /** * 使用虚拟滚动条 */ useScrollbar?: VxeLayoutAsidePropTypes.UseScrollbar /** * 滚动条配置项 */ scrollbarConfig?: VxeLayoutAsidePropTypes.ScrollbarConfig } export interface LayoutAsidePrivateComputed { computeSize: ComputedRef computeVarStyle: ComputedRef } export interface VxeLayoutAsidePrivateComputed extends LayoutAsidePrivateComputed {} export interface LayoutAsideReactData {} export interface LayoutAsideMethods { dispatchEvent(type: ValueOf, params: Record, evnt: Event | null): void } export interface VxeLayoutAsideMethods extends LayoutAsideMethods {} export interface LayoutAsidePrivateMethods {} export interface VxeLayoutAsidePrivateMethods extends LayoutAsidePrivateMethods {} export type VxeLayoutAsideEmits = [] export namespace VxeLayoutAsideDefines { export interface LayoutAsideEventParams extends VxeComponentEventParams { $layoutAside: VxeLayoutAsideConstructor } } export type VxeLayoutAsideEventProps = {} export interface VxeLayoutAsideListeners {} export namespace VxeLayoutAsideEvents {} export namespace VxeLayoutAsideSlotTypes { export interface DefaultSlotParams {} } export interface VxeLayoutAsideSlots { default: (params: VxeLayoutAsideSlotTypes.DefaultSlotParams) => any } export const LayoutAside: typeof VxeLayoutAside export default VxeLayoutAside