export declare const INSERT_BOT_KEY = "\n INSERT INTO lt_bot_api_keys (name, user_id, key_hash, scopes, expires_at)\n VALUES ($1, $2, $3, $4, $5) RETURNING id"; export declare const GET_BOT_KEYS_BY_USER = "\n SELECT id, name, user_id, key_hash, scopes\n FROM lt_bot_api_keys\n WHERE user_id = $1\n AND (expires_at IS NULL OR expires_at > NOW())"; export declare const GET_ALL_ACTIVE_BOT_KEYS = "\n SELECT id, name, user_id, key_hash, scopes\n FROM lt_bot_api_keys\n WHERE (expires_at IS NULL OR expires_at > NOW())"; export declare const UPDATE_BOT_KEY_LAST_USED = "\n UPDATE lt_bot_api_keys SET last_used_at = NOW() WHERE id = $1"; export declare const DELETE_BOT_KEY = "\n DELETE FROM lt_bot_api_keys WHERE id = $1"; export declare const LIST_BOT_KEYS_BY_USER = "\n SELECT id, name, user_id, scopes, expires_at, last_used_at, created_at, updated_at\n FROM lt_bot_api_keys WHERE user_id = $1 ORDER BY created_at"; export declare const INSERT_SERVICE_TOKEN = "\n INSERT INTO lt_service_tokens (name, token_hash, server_id, scopes, expires_at)\n VALUES ($1, $2, $3, $4, $5) RETURNING id"; export declare const GET_ALL_ACTIVE_SERVICE_TOKENS = "\n SELECT id, name, token_hash FROM lt_service_tokens\n WHERE (expires_at IS NULL OR expires_at > NOW())"; export declare const UPDATE_SERVICE_TOKEN_LAST_USED = "\n UPDATE lt_service_tokens SET last_used_at = NOW() WHERE id = $1"; export declare const DELETE_SERVICE_TOKEN = "\n DELETE FROM lt_service_tokens WHERE id = $1"; export declare const LIST_SERVICE_TOKENS_BY_SERVER = "\n SELECT id, name, server_id, scopes, expires_at, last_used_at, created_at, updated_at\n FROM lt_service_tokens WHERE server_id = $1 ORDER BY created_at";