/** * Promisify utility function * Converts a callback-based function to a Promise-based one * Universal implementation that works in both Node.js and browser * * @param fn - Function that uses callback pattern (err, result) => void * @returns Promise-based version of the function */ export declare function promisify unknown>(fn: T): (...args: Parameters) => Promise;