type Warning = (condition: boolean, message: string) => void; declare let warning: Warning; export { warning };