import { Connection, PublicKey } from "@solana/web3.js"; import { Record } from "../types/record"; /** * This function can be used be create a record V1, it handles the serialization of the record data * To create a SOL record use `createSolRecordInstruction` * @param connection The Solana RPC connection object * @param domain The .sol domain name * @param record The record enum object * @param data The data (as a UTF-8 string) to store in the record account * @param owner The owner of the domain * @param payer The fee payer of the transaction * @returns */ export declare const createRecordInstruction: (connection: Connection, domain: string, record: Record, data: string, owner: PublicKey, payer: PublicKey) => Promise;