export default function String(value: unknown, error?: (value: unknown) => Error): string;