/* tslint:disable */ /* eslint-disable */ export function build_layout_ir(abi_yaml: string): any; /** * Build layout IR from a pre-resolved manifest. */ export function build_layout_ir_with_manifest(manifest_json: string, root_package: string): any; export function format_reflection(raw_json: string): any; export function format_reflection_with_options(raw_json: string, options_json: string): any; /** * Get the list of package names in a manifest. */ export function get_manifest_packages(manifest_json: string): any; export function reflect(abi_yaml: string, type_name: string, buffer: Uint8Array): any; export function reflect_account(abi_yaml: string, buffer: Uint8Array): any; /** * Reflect an account using a pre-resolved manifest. */ export function reflect_account_with_manifest(manifest_json: string, root_package: string, buffer: Uint8Array): any; export function reflect_event(abi_yaml: string, buffer: Uint8Array): any; /** * Reflect an event using a pre-resolved manifest. */ export function reflect_event_with_manifest(manifest_json: string, root_package: string, buffer: Uint8Array): any; export function reflect_instruction(abi_yaml: string, buffer: Uint8Array): any; /** * Reflect an instruction using a pre-resolved manifest. */ export function reflect_instruction_with_manifest(manifest_json: string, root_package: string, buffer: Uint8Array): any; /** * Reflect a binary buffer using a pre-resolved manifest. * * The manifest is a JSON object mapping package names to their ABI YAML content. * The root_package parameter specifies which package contains the target type * and root type configuration. * * Example manifest: * ```json * { * "thru.program.token": "abi:\n package: thru.program.token\n ...", * "thru.common.primitives": "abi:\n package: thru.common.primitives\n ..." * } * ``` */ export function reflect_with_manifest(manifest_json: string, root_package: string, type_name: string, buffer: Uint8Array): any; /** * Validate a manifest and return information about its contents. */ export function validate_manifest(manifest_json: string): any; export function wasm_start(): void;