import type { APIDataSource } from '../types/DataSource'; import type { AuthorizedSource, 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 */ export declare const useRookAPISources: () => { ready: boolean; revokeDataSource: (userid: string, type: APIDataSource) => Promise; getDataSourceAuthorizer: (props: DataSourceProps) => Promise; getAuthorizedDataSourcesV2: (userid: string) => Promise; }; //# sourceMappingURL=useRookAPISources.d.ts.map