export type Callback = (error?: Error) => void; export default function writeTruncateFile(fullPath: string, callback: Callback): void;