/** * @pwngh/economy-lab * * Copyright (c) Preston Neal * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ import type { Economy } from './contract.js'; import type { Ports } from './ports.js'; export type { Economy } from './contract.js'; /** * The one door to an {@link Economy}: sync, over a finished {@link Ports} bag — `openPorts`, * `memoryPorts`, or a hand-built structural object. * * @see {@link https://economy-lab-docs.pages.dev/economy/reference/the-economy/ The Economy} for the * construction, the submit/read surface, and the request path. */ export declare function createEconomy(ports: Ports): Economy; /** First-line marker a ledger export's header declares; `parseExport` (and so `verifyExport` * and scripts/ledger-verify.ts) refuses a file without it. */ export declare const EXPORT_FORMAT = "economy-lab/ledger-export";