export type ToolOutputCustomData = Record<string, unknown>;
export type MaybePromise<T> = T | Promise<T>;
export type ToolOutputCustomDataExtractor<TContext> = (context: TContext) => MaybePromise<ToolOutputCustomData | null | undefined>;
export declare function normalizeToolOutputCustomData(value: ToolOutputCustomData | null | undefined): ToolOutputCustomData | undefined;
export declare function maybeExtractToolOutputCustomData<TContext>(extractor: ToolOutputCustomDataExtractor<TContext> | undefined, context: TContext): Promise<ToolOutputCustomData | undefined>;
