import { bindSemantics as bindAny, type CoreScope, type Handler } from './derived-core.js'; import type { DerivedHandler, DerivedSurface } from './derived.js'; import type { DerivedManifest } from './derived-core.js'; import { type PackDescriptor } from './packRegistry.js'; export type { PackDescriptor, PackTransport } from './packRegistry.js'; /** The descriptor a manifest declares, with its vendor ("The descriptor"); given the pack's generated surface (a vendor of * lanes: each lane's manifest and surface), with the real-system adapters the kernel derives from them. */ export declare const packOf: (manifest: { vendor: string; descriptor?: Omit; }, surface?: DerivedSurface | Record, /** the lanes beside a pack that has an API of its own (Clerk's `fapi`, PlanetScale's `api`) */ beside?: Record) => PackDescriptor; /** The pack registered, so the World finds it. */ export declare const registerPack: (pack: PackDescriptor) => PackDescriptor; export type { Actor, CoreScope, DerivedManifest, IdentifierKind, PrivacyDecl, PerformHook, PerformHookArgs, ErrorSpec, LaneRoute, LanesDecl, VendorManifest, FieldRule, ResourceDecl, ScreenDecl, SeedCall, StateField, Transition } from './derived-core.js'; export type { ApplicationAnswer, DeliveryTransportDecl, EndpointsDecl, EventRender, EventScheme, EventsDecl, EventTransport, EventValues, EventWrite, RetryDecl, SignContext } from './events.js'; export { verifyEvent } from './events.js'; export { deriveStateSystem, deriveVendorStateSystem } from './derived-real.js'; export type { IngestDecl } from './derived-core.js'; export type { SocketDecl, SocketEngine, SocketSession } from './sockets.js'; export type { LiveAccess, LiveAdmission, LiveAudio, LiveDecl, LiveEngine, LivePublish, LiveRecording, LiveRefusal, LiveServeOptions, LiveVideo } from './live/types.js'; export { machinePool, isMachineCapabilityGap, type ExecSpec, type MachinePool, type MachineProcess, type MachineRun, type MachineSpec, type MachineStatus, type MachineFiles, type MachineFileStat } from './machines.js'; export type { CorsDecl } from './cors.js'; export type { Handler, HandlerContext, WriteHookContext } from './derived-core.js'; export type { MultipartPart } from './multipart.js'; export { readMailMessage, mailWords, mailAddressList, type MailMessage, type MailAttachment } from './mail-message.js'; /** A pack's handlers, by operationId, bound to the manifest: each is answered over the contract's context. */ export declare const bindSemantics: (m: Parameters[0], handlers: Record, scope?: CoreScope) => Record; export { createPackFetch, createVendorFetch, type LanePart, type PackFetchOptions, type PackParts, type PackScenario } from './pack-fetch.js'; export { createDerivedFetch } from './derived.js'; export type { DerivedCall, DerivedFetch, DerivedFetchOptions, DerivedHandler, DerivedOperation, DerivedSurface, BoardFrame } from './derived.js'; export { coreFor, crossCutting, derivedRequestScopes, vendorError } from './derived-core.js'; export { answerVendorErrors, RefusedWriteError } from './head.js'; export { GraphqlError, type GraphqlPart, type GraphqlResolver } from './graphql-wire.js'; export { VendorUnreachableError } from './vendor-call.js'; export { isReadOnlyRequest, READ_ONLY_REQUEST_HEADER } from './request-scope.js'; export { serveHttp, serveStream, nodeBuiltin, StreamListenerUnavailable, type HttpHandler, type HttpServer, type ServeHttpOptions } from './serve-http.js'; export type { TwinStream, TwinStreamConnection, TwinStreamSink } from './twin-fetch.js'; export { privateTransportKey } from './private-transport.js'; export { siteLabel, siteUrlOf, twinSiteUrl, twinVendorUrl } from './twin-fetch.js'; export { statefulTwinManifest, twinManifest } from './scenario.js'; export { assetContentType, packAsset } from './pack-assets.js'; export { bytesResponse, contentTypeOf, fileResponse } from './file-response.js'; export { certificateOf, digest, digestBytes, equalSecrets, oauth1BaseString, oauth1Encode, oauth1Header, oauth1Signature, hmac, jwks, jwtDecode, jwtSign, jwtSignClaims, jwtVerify, jwtVerifySignature, keyId, lettersFrom, base62From, md5, publicKeyOf, sha256, signWith, SIGNING_ALGORITHMS, uuidFrom, verifyWith } from './signing.js'; export type { HandlerCrypto, Jwk, Jwks, JwtDecodeOptions, JwtSignatureOptions, JwtVerdict, JwtVerificationKey, KeyFormat, SigningKey } from './signing.js'; export { blobDigest } from './blob-store.js'; export { receiverNow } from './world-clock.js'; export { gunzip, gzip } from './bytes.js'; export { ownFields } from './log.js'; export type { TwinResource } from './serve.js'; export { passwordHash, personOf, personWith, recordPerson, shownPersonFields, type Person } from './people.js'; export { EngineDatabaseError, EngineUnavailableError, quoteIdent } from './managed-database.js'; export type { Batch as EngineBatch, ManagedDatabase, Statement as EngineStatement, StatementResult as EngineStatementResult } from './managed-database.js'; export type { Mail, MailReply } from './smtp.js'; export * as s3 from './s3/wire.js'; export * as xml from './xml.js'; export * as html from './html.js'; export * as clickhouse from './clickhouse/index.js'; export { sampleFromSchema } from './schema-sample.js'; export * as openaiWire from './openai-wire.js'; export * as anthropicWire from './anthropic-wire.js'; export * as protobuf from './protobuf.js'; export * as grpc from './grpc-wire.js'; export { acceptH2Connection, type H2Handler, type Http1Handler } from './h2.js'; export { placeholderPng } from './placeholder-image.js'; export { imageDimensions, readImageHeader, readMp4Header } from './media-header.js'; export { presignSigV4, signSigV4, verifySigV4, type SigV4Verdict } from './sigv4.js'; export * as redis from './redis/index.js'; export * as smtpServer from './smtp-server.js'; export * as mysql from './mysql/index.js'; export * as live from './live/index.js'; export * as mongodb from './mongodb/index.js'; export * as git from './git/index.js'; export { scenarioFaultResult, ScenarioError } from './scenario.js'; export { WORLD_SCENARIO_ENV } from './placements.js'; export type { PlacementRecord } from './placements.js'; export type { PackScenarioAdapter, ScenarioDecision, ScenarioFault, ScenarioFaultResult, ScenarioFeatures, ScenarioHandler, ScenarioMatcher, ScenarioMissRecord } from './scenario.js'; export { verifyAttestationBundle } from './attestation.js'; export { cookieOf, signedIn, browserSessionToken, startBrowserSession, endBrowserSession } from './browser-session.js'; export { readHostPort } from './host-port.js'; export { assertBrowserName, browserOrigin, validateBrowserState, validateBrowserStorageState, validateBrowserContext, browserAcceptLanguage, cookieMatchesHost, type BrowserCookie, type BrowserState, type BrowserStorageState, type BrowserContext, type BrowserIndexedDB } from './browser-state.js'; export * as managedOriginalInputs from './managed-original-inputs.js'; export * as managedGoPrograms from './managed-go-programs.js'; export { worldSecret, worldAccount } from './derived-core.js'; export { isWorldAccountName } from './world-account-name.js';