import { GenericRecord } from "@webiny/app/types"; import { PbDataSource } from "../../../types"; import { IResolveDataSourceRepository } from "./IResolveDataSourceRepository"; import { Decorator } from "@webiny/react-composition"; export declare const useLoadDataSource: ((dataSource: PbDataSource, paths: string[]) => { data: GenericRecord; loadData: (params: GenericRecord) => void; }) & { /** * ATTENTION!!! * This is an EXTREMELY EXPERIMENTAL feature, and should not be used outside of core Webiny packages. * * @internal */ decorateRepository: (decorator: Decorator) => () => void; };