import { type Address, type Rpc, type SolanaRpcApi } from "@solana/kit"; import { type PhygitalToken, type Secp256r1Pubkey } from "../generated/index.js"; /** * Find the token whose on-chain `identifier` matches (via `getProgramAccounts` * memcmp). Returns `null` if none. Prefer `findPhygitalTokenPda` + * `fetchPhygitalToken` when you already know the passkey — the PDA is seeded * by that public key. `rpc` is a Kit `Rpc`. */ export declare function fetchPhygitalTokenByIdentifier(rpc: Rpc, identifier: string | Secp256r1Pubkey): Promise; /** * List tokens linked to `owner` (via `getProgramAccounts` memcmp). * `rpc` and `owner` are Kit types (`Rpc`, `Address`). */ export declare function fetchPhygitalTokensByOwner(rpc: Rpc, owner: Address): Promise; /** * Find the token whose on-chain `mint` matches (via `getProgramAccounts` * memcmp). Returns `null` if none. `mint` and `rpc` are Kit types. */ export declare function fetchPhygitalTokenByMint(mint: Address, rpc: Rpc): Promise; //# sourceMappingURL=metadata.d.ts.map