histoire
Version:
A fast story book powered by Vite
12 lines • 695 B
TypeScript
import type { UiAgentSettings } from '@histoire/shared';
import type { AcpSettingsOverrides } from './types.js';
/** Validates user commands and opt-ins before any persistence or process launch. */
export declare function validateAgentSettings(value: unknown): UiAgentSettings;
/** Validate partial persisted intent without supplying inherited default fields. */
export declare function validateAgentOverrides(value: unknown): AcpSettingsOverrides;
/** Write-only credential validation; no raw values appear in error messages. */
export declare function validateAgentEnvironment(value: unknown): {
agentId: string;
env: Record<string, string>;
};
//# sourceMappingURL=validation.d.ts.map