/** * Token2022 (Token Extensions Program) launcher. * * Supports the full range of Token2022 extensions: * - Transfer Fee * - Metadata Pointer + embedded metadata * - Permanent Delegate * - Non-Transferable * - Interest Bearing * - Mint Close Authority * - Default Account State * * For Transfer Hook (pToken), see ptoken-launcher.ts. */ import { Connection, Keypair, PublicKey } from "@solana/web3.js"; import { ExtensionType } from "@solana/spl-token"; import type { TokenLaunchConfig, SdkInstructions } from "../types/index.js"; export interface Token2022LaunchResult extends SdkInstructions { mintKeypair: Keypair; mintPubkey: PublicKey; creatorAta: PublicKey; extensionsEnabled: ExtensionType[]; } /** * Build all instructions for a Token2022 mint with the requested extensions. * * Extension order matters for getMintLen — must be declared before createAccount. */ export declare function buildToken2022LaunchInstructions(connection: Connection, payer: PublicKey, config: TokenLaunchConfig): Promise; //# sourceMappingURL=token2022-launcher.d.ts.map