/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { RemoteDataSource, RemoteDataSourceProps } from './use-remote-data-source.js'; /** * A specialized version of useRemoteDataSource tailored for working with OData services. * It automatically handles the construction of OData queries and the processing of OData responses. * * @template T - The type of data items in the data source. Defaults to any. * @param {RemoteDataSourceProps} props - The configuration options for the OData data source. * @returns {RemoteDataSource} An object containing all the properties and methods from useRemoteDataSource with OData-specific defaults for transport and schema configurations. * * @example * ```tsx * interface Product { * ProductID: number; * ProductName: string; * UnitPrice: number; * } * * const dataSource = useODataDataSource({ * take: 10, * skip: 0, * transport: { * read: { * url: 'https://demos.telerik.com/service/v2/odata/Products' * } * }, * schema: { * model: { * id: 'ProductID' * } * } * }); * ``` */ export declare const useODataDataSource: (props: RemoteDataSourceProps) => RemoteDataSource;