import type { DbAdminDialect, DbAdminTableSummary, DbAdminTableSchema, DbAdminRowsRequest, DbAdminRowsResult, DbAdminMutation, DbAdminMutationResult, DbAdminQueryResult } from "../../db-admin/types.js"; export declare const dbAdminBasePath: string; export interface DbAdminRequestConfig { basePath?: string; scopeKey?: string; } export declare function dbAdminGet(subpath: string, config?: DbAdminRequestConfig): Promise; export declare function dbAdminPost(subpath: string, body: unknown, config?: DbAdminRequestConfig): Promise; export interface DbAdminQueryState { data: T | undefined; isLoading: boolean; error: Error | null; refetch: () => void; } export interface DbAdminOverview { dialect: DbAdminDialect; tables: DbAdminTableSummary[]; } export declare function useOverview(config?: DbAdminRequestConfig): DbAdminQueryState; export declare function useTableSchema(table: string | null, config?: DbAdminRequestConfig): DbAdminQueryState; export declare function useTableRows(table: string | null, req: DbAdminRowsRequest, config?: DbAdminRequestConfig): DbAdminQueryState; export declare function mutateTable(table: string, mutation: DbAdminMutation, config?: DbAdminRequestConfig): Promise; export declare function runQuery(sql: string, params?: unknown[], confirmDestructive?: boolean, config?: DbAdminRequestConfig): Promise; //# sourceMappingURL=useDbAdmin.d.ts.map