/** * Sentinel returned when an untrusted tool-result property cannot be * established as an own data property without invoking a property accessor. */ export declare const UNREADABLE_TOOL_RESULT_PROPERTY: unique symbol; /** * Read an own data property without invoking an accessor. * * Missing properties return `undefined`. Accessor-backed properties and * descriptor failures return {@link UNREADABLE_TOOL_RESULT_PROPERTY}, so * security-sensitive callers can distinguish absence from an unsafe value. */ export declare function readToolResultOwnDataProperty(value: unknown, key: PropertyKey): unknown | typeof UNREADABLE_TOOL_RESULT_PROPERTY; /** Check whether tool execution error marker is present. */ export declare function hasToolExecutionErrorMarker(value: unknown): boolean; /** Check whether a tool result contains a complete deferred OAuth action. */ export declare function isIntegrationAuthenticationActionResult(value: unknown): boolean; /** Return the displayable error for a failed tool result. */ export declare function getToolResultError(result: unknown): string | undefined; /** Result returned from is errored tool execution. */ export declare function isErroredToolExecutionResult(result: unknown): boolean; //# sourceMappingURL=result.d.ts.map