import type { ConstrainedSamplingConfig } from "@bastani/pi-ai/compat"; export declare function areExperimentalFeaturesEnabled(): boolean; /** * Experimental strict JSON-schema constrained sampling for built-in tool definitions. * * Returns a `prefer` (not `require`) constraint so providers without strict * support keep working, and `undefined` unless experimental features are enabled * (`ATOMIC_EXPERIMENTAL=1` or the legacy `PI_EXPERIMENTAL=1`), leaving tool * definitions unconstrained by default. */ export declare function getExperimentalToolSampling(): ConstrainedSamplingConfig | undefined; /** * Tool-definition spread fragment for the experimental strict sampling above. * * Sets `constrainedSampling` only when the experimental gate is on. Key presence * is semantic through the tool plumbing (`Object.hasOwn` guards in * tool-definition-wrapper, agent-session-state, and loader-runtime), so an * unconstrained definition must keep the property absent rather than own it * with `undefined`. */ export declare function experimentalToolSamplingProperty(): { constrainedSampling: { type: "json_schema"; strict: "prefer"; }; } | Record; //# sourceMappingURL=experimental.d.ts.map