element-plus
Version:
A Component Library for Vue 3
69 lines (68 loc) • 2.02 kB
TypeScript
import * as _$vue from "vue";
//#region ../../packages/components/splitter/src/split-bar.vue.d.ts
declare var __VLS_1: {}, __VLS_8: {};
type __VLS_Slots = {} & {
'start-collapsible'?: (props: typeof __VLS_1) => any;
} & {
'end-collapsible'?: (props: typeof __VLS_8) => any;
};
declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
index: {
type: NumberConstructor;
required: true;
};
layout: {
type: StringConstructor;
values: readonly ["horizontal", "vertical"];
default: string;
};
resizable: {
type: BooleanConstructor;
default: boolean;
};
lazy: BooleanConstructor;
startCollapsible: BooleanConstructor;
endCollapsible: BooleanConstructor;
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
collapse: (...args: any[]) => void;
moveStart: (...args: any[]) => void;
moving: (...args: any[]) => void;
moveEnd: (...args: any[]) => void;
}, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
index: {
type: NumberConstructor;
required: true;
};
layout: {
type: StringConstructor;
values: readonly ["horizontal", "vertical"];
default: string;
};
resizable: {
type: BooleanConstructor;
default: boolean;
};
lazy: BooleanConstructor;
startCollapsible: BooleanConstructor;
endCollapsible: BooleanConstructor;
}>> & Readonly<{
onCollapse?: ((...args: any[]) => any) | undefined;
onMoveStart?: ((...args: any[]) => any) | undefined;
onMoving?: ((...args: any[]) => any) | undefined;
onMoveEnd?: ((...args: any[]) => any) | undefined;
}>, {
layout: string;
lazy: boolean;
resizable: boolean;
startCollapsible: boolean;
endCollapsible: boolean;
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//#endregion
export { _default as default };