import { Option } from './option';
/**
* None is a singleton class that represents emptiness. It signals that a value that may not exist
* doesn't exist.
*/
declare class None_ implements Option {
static readonly INSTANCE: None_;
readonly isDefined: boolean;
readonly isEmpty: boolean;
private constructor();
equals(other: Option): boolean;
filter(predicate: (value: A) => boolean): Option;
filterNot(predicate: (value: A) => boolean): Option;
flatMap(flatMapper: (value: A) => Option): Option;
foreach(run: (value: A) => void): void;
get(): A;
getOrElse(this: None_, defaultValue: () => B): B;
map(mapper: (value: A) => B): Option;
match(matcher: {
Some: (a: A) => B;
None: () => B;
}): B;
orElse(this: None_, alternative: () => Option): Option;
}
declare const instance: None_;
export { None_, instance as None };