import type { BaseToolExecutorResult } from "../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolExecutorPort.js";
export declare function isShellGenerationRecord(value: unknown): value is Readonly<Record<string, unknown>>;
export declare function shellGenerationInputEnvelope(request: unknown): {
    input: Readonly<Record<string, unknown>>;
    context?: Readonly<Record<string, unknown>>;
};
export declare function requireShellGenerationExecutorOutput(result: BaseToolExecutorResult<Readonly<Record<string, unknown>>>): Readonly<Record<string, unknown>>;
export declare function withShellGenerationProviderFlags(output: Readonly<Record<string, unknown>>): Readonly<Record<string, unknown>>;
export declare function requireStringField(output: Readonly<Record<string, unknown>>, field: string, options?: {
    nonEmpty?: boolean;
}): string;
export declare function optionalStringField(output: Readonly<Record<string, unknown>>, field: string): string | undefined;
export declare function requireNumberField(output: Readonly<Record<string, unknown>>, field: string): number;
export declare function requireBooleanField(output: Readonly<Record<string, unknown>>, field: string): boolean;
export declare function requireStringArrayField(output: Readonly<Record<string, unknown>>, field: string): readonly string[];
export declare function optionalStringArrayField(output: Readonly<Record<string, unknown>>, field: string): readonly string[] | undefined;
export declare function requireRecordField(output: Readonly<Record<string, unknown>>, field: string): Readonly<Record<string, unknown>>;
export declare function optionalRecordField(output: Readonly<Record<string, unknown>>, field: string): Readonly<Record<string, unknown>> | undefined;
export declare function requireLiteralField<const Value extends string>(output: Readonly<Record<string, unknown>>, field: string, values: readonly Value[]): Value;
export declare function requireRecordArrayField(output: Readonly<Record<string, unknown>>, field: string): readonly Readonly<Record<string, unknown>>[];
export declare function requireStringLiteralArrayField<const Value extends string>(output: Readonly<Record<string, unknown>>, field: string, values: readonly Value[]): readonly Value[];
export declare function requireProviderResultEnvelope(result: unknown, toolId: string): Readonly<Record<string, unknown>> & {
    ok: boolean;
};
export declare function requireProviderAudit(result: Readonly<Record<string, unknown>>): readonly Readonly<Record<string, unknown>>[];
export declare function requireProviderEvents(result: Readonly<Record<string, unknown>>): readonly string[];
export declare function requireProviderFailureError<const Code extends string, const Boundary extends string>(result: Readonly<Record<string, unknown>>, allowedCodes: readonly Code[], allowedBoundaries: readonly Boundary[]): {
    code: Code;
    message: string;
    boundary: Boundary;
    publicSafe: true;
    internalDetailExposed: false;
};
