import type { SchemaMetadataResponse } from '../../components/PipelineForm/components/DatasetForm/types'; export declare const SCHEMA_METADATA_QUERY_KEY = "schemaMetadata"; /** * Metadata cache key scoped to the pipeline and source. Two sources can share * a schema name (e.g. `public`), so both the pipeline and source name must be part * of the key — otherwise switching pipelines or sources reads the previously * viewed source's cached tables. */ export declare const getSchemaMetadataQueryKey: (pipelineName: string, sourceName: string, schemaName: string) => string[]; interface UseSchemaMetadataQueryOptions { /** * The schema name to fetch metadata for. */ schemaName: string; /** * The source name to query metadata from. */ sourceName: string; } /** * Fetches metadata (tables and columns) for a specific schema * via the RDI SDK client. * * @param options - Query options including schema name and source name */ export declare const useSchemaMetadataQuery: ({ schemaName, sourceName }: UseSchemaMetadataQueryOptions) => import("@tanstack/react-query").UseQueryResult; export {};