import { AuthCheckFn } from 'packages/yc-components'; import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue'; import { SFCWithInstall } from 'yc-pro-components/es/utils'; import { default as YcPerms, PermsCheckFn } from './src/index'; export declare const YcPermsWithInstall: SFCWithInstall; default: () => never[]; }; hasPerms: { type: PropType; default: undefined; }; }, () => any, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{ value: { type: PropType; default: () => never[]; }; hasPerms: { type: PropType; default: undefined; }; }>>, { value: string | string[]; hasPerms: AuthCheckFn; }, {}>>; export { YcPerms }; export type { PermsCheckFn }; export default YcPerms; export { YcPerms as RePerms }; export type YcPermsInstance = InstanceType;