import { type ReactElement } from "react"; import type { RemoteDatasourceDefinition } from "../remote-datasources/remote-datasource-registry.js"; import type { RemoteDatasourceContext } from "../remote-datasources/loader.js"; export declare function DatasourceRegistryProvider({ registry, children, }: { registry: RemoteDatasourceDefinition[]; children: React.ReactNode; }): import("react").JSX.Element; export declare function useDatasourceRegistry(): RemoteDatasourceDefinition[]; export declare function DatasourceDataProvider({ context, children, }: { context: RemoteDatasourceContext; children: React.ReactNode; }): import("react").JSX.Element; export declare function useDatasourceData(): RemoteDatasourceContext; interface DatasourceSelectFieldDef { type: "custom"; label: string; render: (props: { field: DatasourceSelectFieldDef; name: string; id: string; label: string; value: string; onChange: (value: string) => void; readOnly?: boolean; }) => ReactElement; } export declare function createDatasourceSelectField(): DatasourceSelectFieldDef; export {};