import { Address, GetAccountInfoApi, Instruction, Rpc } from "@solana/kit"; export interface UpdateNameRegistryParams { rpc: Rpc; domain: string; offset: number; data: Uint8Array; classAddress?: Address; parentAddress?: Address; } /** * Update the data of the given name registry. * * @param params - An object containing the following properties: * - `rpc`: An RPC interface implementing GetAccountInfoApi. * - `domain`: The name of the domain whose registry will be updated. * - `offset`: The offset in bytes where the update should begin. * - `data`: The data to be written to the registry. * - `classAddress`: (Optional) The address of the class associated with the registry. * - `parentAddress`: (Optional) The address of the parent registry. * @returns A promise that resolves to the update name registry instruction. */ export declare function updateNameRegistry({ rpc, domain, offset, data, classAddress, parentAddress, }: UpdateNameRegistryParams): Promise;