export interface TypeGetter { getType?: () => T; } export declare function getType(f: ((...args: any[]) => { type: T; }) & TypeGetter): T;