declare function func(symbol: any): (..._params: any[]) => any; declare namespace func { export const isFactory: boolean; export { SYMBOL }; } export default func; export const SYMBOL: string[];