export interface SnowflakeCredentials {
    account: string;
    username: string;
    privateKey: string;
    privateKeyPassword?: string;
    warehouse?: string;
    database?: string;
    schema?: string;
    role?: string;
}
/**
 * Parse a multi-field credential value into typed Snowflake fields.
 * Uses the shared decodeCredentialPayload() which handles both
 * base64 (injection path) and raw JSON (validator path).
 */
export declare function parseSnowflakeCredential(value: string): SnowflakeCredentials;
/**
 * Generate a JWT token for Snowflake key-pair authentication.
 *
 * The JWT contains:
 * - iss: <ACCOUNT>.<USER>.SHA256:<public_key_fingerprint>
 * - sub: <ACCOUNT>.<USER>
 * - iat: current timestamp
 * - exp: current timestamp + 1 hour
 */
export declare function generateSnowflakeJWT(creds: SnowflakeCredentials): string;
/**
 * Build the Snowflake SQL API base URL from the account identifier.
 */
export declare function getSnowflakeBaseUrl(account: string): string;
/**
 * Find a column index by name in a SHOW command result.
 * SHOW commands return variable column layouts — this finds by name safely.
 */
export declare function findColumnIndex(rowType: Array<{
    name: string;
}>, columnName: string): number;
/**
 * Get a cell value from a row by column name, returning undefined if not found.
 */
export declare function getCellByName(row: Array<string | null>, rowType: Array<{
    name: string;
}>, columnName: string): string | undefined;
//# sourceMappingURL=snowflake.utils.d.ts.map