/** * Which distribution this process was installed from, as one closed token, * so a hosted call can say `surface=homebrew` beside the version it already * carries and the funnel can be read per surface: installs from the release * downloads, first governed actions from the authority's own record. The * token is the whole of what is derived: the paths looked at to derive it * are never reported, and nothing is derived from the network, the user or * the machine. A distribution that runs the process itself names the * surface in `AGENTSAFE_SURFACE` (the image, the chart, the systemd unit); * the others are recognised by where the executable sits. An unknown value * in the variable, or a location that is none of these, is no surface at * all rather than a guess. */ export declare const INSTALL_SURFACES: readonly ["homebrew", "linux", "installer", "docker", "kubernetes", "npm", "source"]; export type InstallSurface = (typeof INSTALL_SURFACES)[number]; export declare const SURFACE_ENVIRONMENT = "AGENTSAFE_SURFACE"; /** What the derivation reads: the environment, the executable, and the entry script when there is one. */ export interface SurfaceFacts { readonly env: Readonly>; readonly execPath: string; readonly script: string | undefined; } export declare function installSurface(facts: SurfaceFacts): InstallSurface | null; /** The surface of the running process, from its own environment and location. */ export declare function processSurface(env?: Readonly>): InstallSurface | null; //# sourceMappingURL=InstallSurface.d.ts.map