import type { DeleteDnsRecordInput, DnsRecordSummary, ListDnsRecordsInput, ListableDnsProvider, UpsertDnsRecordInput } from '../DnsProvider'; interface TencentDnsProviderOptions { tokenId?: string | null; token?: string | null; /** API 根地址,默认为 `https://dnsapi.cn`。 */ baseUrl?: string | null; /** * 默认线路 ID,腾讯云 DNS 默认线路为 `0`。 * 若未指定且记录已存在,将复用已有线路。 */ defaultLineId?: string | null; /** HTTP 请求超时毫秒数,默认 10s。 */ timeoutMs?: number | string | null; /** User-Agent 标识,便于审计。 */ userAgent?: string | null; } /** * 基于腾讯云 DNSPod v2 API 的 DNS 提供方实现。 */ export declare class TencentDnsProvider implements ListableDnsProvider { private readonly logger; private readonly tokenId; private readonly token; private readonly baseUrl; private readonly defaultLineId; private readonly timeoutMs; private readonly userAgent?; private readonly enabled; constructor(options: TencentDnsProviderOptions); upsertRecord(options: UpsertDnsRecordInput): Promise; deleteRecord(options: DeleteDnsRecordInput): Promise; listRecords(options: ListDnsRecordsInput): Promise; private toSummary; private findRecord; private compareLine; private compareTtl; private normalizeTtl; private callApi; private normalizeString; private normalizeTimeout; } export {};