import { type MockProps } from '@data-client/core/mock'; import type { App } from 'vue'; export interface MockPluginOptions extends MockProps { silenceMissing?: boolean; } /** * Vue 3 Plugin for mocking Data Client responses based on fixtures * * Usage: * ```ts * import { createApp } from 'vue'; * import { DataClientPlugin } from '@data-client/vue'; * import { MockPlugin } from '@data-client/vue/test'; * * const app = createApp(App); * app.use(DataClientPlugin); * app.use(MockPlugin, { * fixtures: [ * { * endpoint: MyResource.get, * args: [{ id: 1 }], * response: { id: 1, name: 'Test' }, * }, * ], * }); * app.mount('#app'); * ``` * * Place after DataClientPlugin and before mounting the app. */ export declare const MockPlugin: { install(app: App, options?: MockPluginOptions): void; }; //# sourceMappingURL=MockPlugin.d.ts.map