/**
 * The run step of the relay host's file, shell, process and mesh ops (its `core-ops.ts`, ported), each on the shared
 * machine-ops layer with the op's OpContext. Every response carries exactly the relay host's fields; byte payloads are
 * base64 (`response.bytes`), the JSON form of the relay host's CBOR byte string.
 */
import { type EditRequest, type ExecRequest, type GlobRequest, type GrepRequest, type ListRequest, type MachineOps, type OpContext, type ReadRequest, type StatRequest, type WriteRequest } from "../../../../vendor/senpi-machine-ops/index.js";
import type { OpOutcome } from "./wire.ts";
export interface CoreCall {
    readonly ctx: OpContext;
    readonly ops: MachineOps;
    readonly root: string;
    readonly confined: boolean;
    /** The relay host's `env_overlay`, laid last over a child's environment. */
    readonly envOverlay: Readonly<Record<string, string>>;
}
export declare const runRead: (req: ReadRequest, c: CoreCall) => Promise<OpOutcome>;
export declare const runWrite: (req: WriteRequest, c: CoreCall) => Promise<OpOutcome>;
export declare const runEdit: (req: EditRequest, c: CoreCall) => Promise<OpOutcome>;
export declare const runGlob: (req: GlobRequest, c: CoreCall) => Promise<OpOutcome>;
export declare const runGrep: (req: GrepRequest, c: CoreCall) => Promise<OpOutcome>;
export declare const runStat: (req: StatRequest, c: CoreCall) => Promise<OpOutcome>;
export declare const runList: (req: ListRequest, c: CoreCall) => Promise<OpOutcome>;
export declare const runShell: (req: ExecRequest, c: CoreCall) => Promise<OpOutcome>;
export declare const runProcessInfo: (req: {
    pid?: number;
    handleId?: string;
}, c: CoreCall, pidOfHandle: (handleId: string) => number | undefined) => Promise<OpOutcome>;
export declare const runMeshMessage: (req: {
    topic: string;
    body: unknown;
}, c: CoreCall) => Promise<OpOutcome>;
//# sourceMappingURL=core-ops.d.ts.map