import { TsonAsyncType } from '../asyncTypes.js';
import '../../internals/esque.js';
import '../../sync/syncTypes.js';
import '../asyncErrors.js';
import '../../errors.js';

declare const PROMISE_RESOLVED = 0;
declare const PROMISE_REJECTED = 1;
type SerializedPromiseValue = [typeof PROMISE_REJECTED, unknown] | [typeof PROMISE_RESOLVED, unknown];
type MyPromise = Promise<unknown>;
declare const tsonPromise: TsonAsyncType<MyPromise, SerializedPromiseValue>;

export { tsonPromise };
