tarlatan
    Preparing search index...

    Variable decodeClaudeResultConst

    decodeClaudeResult: (
        input: unknown,
        options?: ParseOptions,
    ) => Result<
        {
            is_error?: boolean;
            result?: string;
            session_id?: string;
            subtype?: string;
            type: "result";
        },
        SchemaError,
    > = ...

    Decodes an unknown value as a ClaudeResult.

    Type Declaration

      • (
            input: unknown,
            options?: ParseOptions,
        ): Result<
            {
                is_error?: boolean;
                result?: string;
                session_id?: string;
                subtype?: string;
                type: "result";
            },
            SchemaError,
        >
      • Parameters

        Returns Result<
            {
                is_error?: boolean;
                result?: string;
                session_id?: string;
                subtype?: string;
                type: "result";
            },
            SchemaError,
        >