/** * @module constants/seeds * @description PDA seed prefix constants. * * Every seed string mirrors the Rust `#[account(seeds = [...])]` definitions. * * @category Constants * @since v0.1.0 */ /** * PDA seed prefix lookup table. * * Each key corresponds to an on-chain account type, and the value is the * UTF-8 string used as the first seed segment in * `PublicKey.findProgramAddressSync`. * * @name SEEDS * @description Maps logical account names to their Rust-defined PDA seed prefix strings. * @category Constants * @since v0.1.0 * @example * ```ts * import { SEEDS } from "@synapse-sap/sdk/constants"; * * Buffer.from(SEEDS.AGENT); // => "sap_agent" * ``` * @see {@link SeedKey} */ export declare const SEEDS: { readonly AGENT: "sap_agent"; readonly AGENT_STATS: "sap_stats"; readonly AGENT_STAKE: "sap_stake"; readonly PRICING: "sap_pricing"; readonly FEEDBACK: "sap_feedback"; readonly CAPABILITY_INDEX: "sap_cap_idx"; readonly CAPABILITY_IDX: "sap_cap_idx"; readonly PROTOCOL_INDEX: "sap_proto_idx"; readonly PROTOCOL_IDX: "sap_proto_idx"; readonly GLOBAL: "sap_global"; readonly PLUGIN: "sap_plugin"; readonly MEMORY: "sap_memory"; readonly MEMORY_CHUNK: "sap_mem_chunk"; readonly VAULT: "sap_vault"; readonly SESSION: "sap_session"; readonly EPOCH: "sap_epoch"; readonly EPOCH_PAGE: "sap_epoch"; readonly DELEGATE: "sap_delegate"; readonly VAULT_DELEGATE: "sap_delegate"; readonly TOOL: "sap_tool"; readonly CHECKPOINT: "sap_checkpoint"; readonly ESCROW: "sap_escrow"; readonly ESCROW_V2: "sap_escrow_v2"; readonly STATS: "sap_stats"; readonly TOOL_CATEGORY: "sap_tool_cat"; readonly TOOL_CAT_IDX: "sap_tool_cat"; readonly ATTESTATION: "sap_attest"; readonly LEDGER: "sap_ledger"; readonly LEDGER_PAGE: "sap_page"; readonly BUFFER: "sap_buffer"; readonly DIGEST: "sap_digest"; readonly PENDING: "sap_pending"; readonly PENDING_SETTLE: "sap_pending"; readonly DISPUTE: "sap_dispute"; readonly STAKE: "sap_stake"; readonly SUBSCRIPTION: "sap_subscription"; readonly SHARD: "sap_shard"; readonly INDEX_PAGE: "sap_idx_page"; readonly SETTLEMENT_RECEIPT: "sap_recv"; readonly RECEIPT: "sap_receipt"; }; /** * Union type of all valid keys in the {@link SEEDS} object. * * @name SeedKey * @description String literal union derived from `keyof typeof SEEDS`. * @category Constants * @since v0.1.0 * @see {@link SEEDS} */ export type SeedKey = keyof typeof SEEDS; //# sourceMappingURL=seeds.d.ts.map