import BridgeStatic from './bridge-static'; import { AnyTarget } from './helpers'; declare type AnyFunction = (...args: any[]) => any; declare type ExtractFunction = T extends AnyFunction ? T extends (bridge: BridgeStatic, ...args: any[]) => any ? T : never : T extends readonly any[] ? (bridge: BridgeStatic, ...args: T) => R : never; declare type BlindStaticMethod = { server: ExtractFunction; client: ExtractFunction; }; declare type AnyBlindStaticMethodFunction = (bridge: BridgeStatic, ...args: A) => R; export declare type ExtractArgs> = B extends BlindStaticMethod ? ExtractFunction extends AnyBlindStaticMethodFunction ? A : never : never; export declare type ExtractReturn> = B extends BlindStaticMethod ? ExtractFunction extends AnyBlindStaticMethodFunction ? R2 : never : never; export default BlindStaticMethod;