export default function mod(n: number, d: number): number;