import type { OAuth2Client, JWT } from 'google-auth-library'; /** BigQuery 호출에 쓰이는 인증 클라이언트 — 사용자 OAuth 또는 서비스 계정 JWT. */ export type BigQueryAuthClient = OAuth2Client | JWT; export declare function runQuery(auth: BigQueryAuthClient, projectId: string, query: string, maxResults?: number): Promise<{ jobComplete: boolean | null | undefined; totalRows: string | null | undefined; schema: { name: string | null | undefined; type: string | null | undefined; }[]; rows: { [k: string]: any; }[]; }>; export declare function listDatasets(auth: BigQueryAuthClient, projectId: string): Promise<{ datasetId: string | null | undefined; location: string | undefined; }[]>; export declare function listTables(auth: BigQueryAuthClient, projectId: string, datasetId: string): Promise<{ tableId: string | null | undefined; type: string | undefined; }[]>; export declare function getTableSchema(auth: BigQueryAuthClient, projectId: string, datasetId: string, tableId: string): Promise<{ tableId: string; schema: { name: string | null | undefined; type: string | null | undefined; mode: string | null | undefined; description: string | null | undefined; }[] | undefined; }>;