UNPKG

mcp-openai-complete

Version:
21 lines (20 loc) 750 B
import { CompletionArgs } from './types.js'; type LogArgs = string | number | boolean | null | undefined | object; /** * Logger utility for consistent logging */ export declare const logger: { info: (context: string, message: string, ...args: LogArgs[]) => void; error: (context: string, message: string, ...args: LogArgs[]) => void; debug: (context: string, message: string, ...args: LogArgs[]) => void; warn: (context: string, message: string, ...args: LogArgs[]) => void; }; /** * Sleep for a specified number of milliseconds */ export declare const sleep: (ms: number) => Promise<void>; /** * Validate completion arguments */ export declare const isValidCompletionArgs: (args: unknown) => args is CompletionArgs; export {};