tav-ui
Version:
15 lines (14 loc) • 507 B
TypeScript
import { type ComputedRef } from 'vue';
import { type UseRequestReturn } from 'tav-ui/es/components/file/src/hooks/use-request';
import { type EditorProps } from '../typings';
export declare function useEditorPlugin(options: {
mergedProps: ComputedRef<EditorProps>;
handleApi: UseRequestReturn['handleApi'];
apiResult: UseRequestReturn['result'];
}): {
setupPlugins: () => void;
pluginConfig: ComputedRef<{
plugins: string;
pluginOptions: Record<string, any>;
}>;
};