import { App } from 'vue'; declare class MiCookie { prefix: string; /** * 获取 cookie 名称 * @param key * @param prefix * @returns */ getName(key: string, prefix?: string): string; /** * 获取 cookie * @param key * @param prefix * @returns */ get(key: string, prefix?: string): any; /** * 设置 cookie * @param name * @param value * @param expire * @param prefix */ set(name: string, value: any, expire?: number | null, prefix?: string): void; /** * 删除 cookie * @param names * @param prefix */ del(names: string | any[], prefix?: string): void; } /** * Cookie 缓存 ( `document.cookie` ) * * e.g. * ``` * this.$cookie.get('key') * this.$cookie.set('key', 'value') * ``` */ export declare const $cookie: MiCookie; declare const _default: { install(app: App): App; }; export default _default;