import type { PropertyKey } from "../index"; declare function Invoke( O: O, P: P, args?: P extends keyof O ? O[P] extends (...args: infer A) => any ? Readonly : ArrayLike : ArrayLike, ): P extends keyof O ? (O[P] extends (...args: any) => infer R ? R : never) : unknown; export = Invoke;