import { RoughCanvas } from 'roughjs/bin/canvas'; import { Options } from 'roughjs/bin/core'; import { RoughSVG } from 'roughjs/bin/svg'; import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue'; declare const _default: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal & Omit<{ readonly onDraw?: ((rc: T extends "canvas" ? RoughCanvas : RoughSVG, element: T extends "canvas" ? HTMLCanvasElement : SVGSVGElement, options: Options) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onDraw"> & { /** * [Options for Rough.js]{@link https://github.com/rough-stuff/rough/wiki#options}. * @type {import('roughjs/bin/core').Options} */ options?: Options; /** * Selector(s) to apply graphics configuration. */ selector?: string | string[]; /** * Whether to adjust the size to fit the parent element. * @default true */ responsive?: boolean; /** * [HTML tag for rendering the graphics]{@link https://github.com/rough-stuff/rough/wiki#roughcanvas--roughsvg}. * @type {'canvas' | 'svg'} */ tag?: T; } & Partial<{}>> & PublicProps; expose(exposed: ShallowUnwrapRef<{}>): void; attrs: any; slots: {}; emit: (event: "draw", rc: T extends "canvas" ? RoughCanvas : RoughSVG, element: T extends "canvas" ? HTMLCanvasElement : SVGSVGElement, options: Options) => void; }>) => VNode & { __ctx?: Awaited; }; export default _default; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {};