import { Cell } from '@ton/core'; export interface CompiledArtifact { /** Cell-hash hex (matches contract code hash on-chain). */ hash: string; /** Cell-hash base64. */ hashBase64: string; /** Raw BoC hex; what `Cell.fromBoc(Buffer.from(hex, 'hex'))[0]` consumes. */ hex: string; } /** * Load the compiled `Phoebe` code cell, ready for `Phoebe.createFromConfig`. * * @example * import { Phoebe, loadPhoebeCode } from '@titon-network/phoebe-sdk'; * const phoebe = Phoebe.createFromConfig( * { owner: ownerAddr, forgeton: forgetonAddr, atlas: atlasAddr }, * loadPhoebeCode(), * ); * await phoebe.sendDeploy(via, toNano('1')); */ export declare function loadPhoebeCode(): Cell; /** * Load the compiled `PriceConsumer` test-fixture code cell. NOT a production * contract — used by `deployPhoebeFixture` and example tests where you need * a real Tolk consumer rather than a treasury stand-in. * * @example * import { PriceConsumer, loadPriceConsumerCode } from '@titon-network/phoebe-sdk'; * const consumer = PriceConsumer.createFromConfig( * { owner: ownerAddr, phoebe: phoebe.address }, * loadPriceConsumerCode(), * ); */ export declare function loadPriceConsumerCode(): Cell; /** * Hex code-hash of the bundled `Phoebe.compiled.json`. Equivalent to * `loadPhoebeCode().hash().toString('hex')` but no Cell parse — safe to use * at module-eval time / in const context. * * Compare against `(await tonClient.getContractState(addr)).codeHash` to * detect SDK ↔ on-chain code drift. */ export declare function phoebeCodeHash(): string; /** PriceConsumer test-fixture code hash. Symmetric with `phoebeCodeHash`. */ export declare function priceConsumerCodeHash(): string; /** * Lazy accessor for `phoebeCodeHash()` — primarily a re-export anchor * so the README can document a single canonical name. */ export declare const PHOEBE_CODE_HASH: { readonly hex: string; readonly base64: string; };