import type { DataSource, DataSourceType } from '../types/DataSource'; import type { AuthorizedSources, DataSourceAuthorizer, DataSourceProps } from '../types/AuthorizedSources'; /** * The `useRookDataSources` hook provides functionality to interact with data sources in Rook, * including retrieving available data sources, presenting a connections page, and revoking user * authorization for a specific data source. * @returns An object is being returned from the `useRookDataSources` hook to allow the user to access to the sources API */ type options = { redirectURL?: string; }; export declare const useRookDataSources: () => { ready: boolean; getAvailableDataSources: (options?: options | undefined) => Promise; presentDataSourceView: (options?: options | undefined) => Promise; revokeDataSource: (type: DataSourceType) => Promise; getAuthorizedDataSources: () => Promise; getDataSourceAuthorizer: (props: DataSourceProps) => Promise; }; export {}; //# sourceMappingURL=useRookDataSources.d.ts.map