export type TwinRuntime = { currentResources: typeof import('@volter-ai-dev/twin').currentResources; pendingActions: typeof import('@volter-ai-dev/twin').pendingActions; reconcile: typeof import('@volter-ai-dev/twin').reconcile; runConnectorPoll: typeof import('@volter-ai-dev/twin').runConnectorPoll; applyGithubWrite: typeof import('@volter-ai-dev/twin-github').applyGithubWrite; pushPendingGithubActions: typeof import('@volter-ai-dev/twin-github').pushPendingGithubActions; }; export declare const MISSING_TWIN_MESSAGE = "ztrack sync github requires the optional sync packages. Install them with: npm install -D @volter-ai-dev/twin @volter-ai-dev/twin-github"; export declare const NODE_CANNOT_LOAD_TWIN_GITHUB_MESSAGE = "ztrack sync github: @volter-ai-dev/twin-github ships TypeScript source with no Node-compatible build, and this Node runtime cannot load .ts files from node_modules (ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING). Run the command under bun instead, e.g.: bunx ztrack sync github ..."; /** Injectable for tests that simulate the peers being unresolvable without actually uninstalling * them (see twinRuntime.test.ts). Production code never overrides this. */ export declare let importTwinModules: () => Promise<[typeof import("@volter-ai-dev/twin"), typeof import("@volter-ai-dev/twin-github")]>; export declare function __setImportTwinModulesForTest(fn: typeof importTwinModules): void; /** Load the twin runtime, memoized after the first successful call. Throws MISSING_TWIN_MESSAGE * (never a raw MODULE_NOT_FOUND) when the optional peers aren't installed, or * NODE_CANNOT_LOAD_TWIN_GITHUB_MESSAGE when they ARE installed but this JS runtime can't load * twin-github's TypeScript-only package (see above — install won't fix that one; bun will). */ export declare function loadTwinRuntime(): Promise;