export type PlatformToolErrorClassification = 'timeout' | 'rate_limit' | 'other';
export interface ClassifyPlatformToolErrorOptions {
    timeoutMessages?: readonly string[];
    rateLimitCodes?: readonly string[];
    rateLimitMessageCodes?: readonly string[];
    rateLimitMessageIncludes?: readonly string[];
}
export declare function generateHmacToken(secret: string, data: string): string;
export declare function classifyPlatformToolError(err: unknown, options?: ClassifyPlatformToolErrorOptions): PlatformToolErrorClassification;
