/** * Type-safe function to extract properties from source object that match the keys of the target type * @template T - The target type whose properties we want to extract * @template S - The source object type containing the properties * @param source - The source object to extract properties from * @returns An object with properties from source that match the keys of T */ export default function extractProps>(source: S): T;