import { Record } from "../types/record"; import { Connection } from "@solana/web3.js"; import { Record as SnsRecord } from "@bonfida/sns-records"; interface GetRecordV2Options { deserialize?: boolean; } interface RecordResult { record: Record; retrievedRecord: SnsRecord; verified: { staleness: boolean; roa?: boolean; }; deserializedContent?: string; } /** * Retrieves a record V2 for a domain, verifies its staleness and right of * association, and optionally deserializes the record content. * * @param connection The Solana RPC connection object. * @param domain The `.sol` domain name that owns the record. * @param record The record type to retrieve. * @param options Optional retrieval settings. * @param options.deserialize When `true`, deserializes the raw record content. * @returns The requested record, the raw SNS record account, verification * results, and optionally the deserialized content. */ export declare function getRecordV2(connection: Connection, domain: string, record: Record, options?: GetRecordV2Options): Promise; export {};