type Custom = { [key: string]: { [key: string]: string; }; }; export default function filter(valuePortion: string, custom: Custom): string; export {};