import type { Bundled } from '../contract/index.ts'; import type { Defaults, Terrain } from './terrain.ts'; export type Probing = { readonly where?: string; readonly given?: unknown; readonly bundle?: readonly Bundled[]; }; export type GroundProbe = { readonly name: string; fits(probing: Probing): boolean; terrain(probing: Probing, defaults: Defaults): Terrain; }; export type KnownGround = { readonly probe: GroundProbe; readonly defaults: Defaults; }; export declare const addGround: (probe: GroundProbe, defaults: Defaults) => void; export declare const grounds: () => string[]; export declare const probeGround: (probing: Probing, among?: readonly KnownGround[]) => { ground: string; terrain: Terrain; };