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