import { type State } from '../state.js'; export default function (this: State): State['mode']; export default function (this: State, mode?: 'development' | 'production'): void;