import { DataProvider } from '../../core'; declare const _default: (data: any, loggingEnabled?: boolean) => DataProvider; /** * Respond to ../../app data queries using a local JavaScript object * * Useful for debugging and testing - do not use in production. * * @example * * import fakeDataProvider from 'data/fakerest'; * const dataProvider = fakeDataProvider({ * posts: [ * { id: 0, title: 'Hello, world!' }, * { id: 1, title: 'FooBar' }, * ], * comments: [ * { id: 0, post_id: 0, author: 'John Doe', body: 'Sensational!' }, * { id: 1, post_id: 0, author: 'Jane Doe', body: 'I agree' }, * ], * }) */ export default _default;