import { Brand } from '../types/brand.js'; export declare function assert(condition: boolean, message?: unknown): asserts condition; export declare function assertHasKey(obj: Obj, key: Key): asserts obj is Obj & Record; export declare function unsafeCastType(value: unknown): asserts value is T; export declare function assertNonNull(value: T): asserts value is Exclude; export declare function asNonNull(value: null extends T ? T : undefined extends T ? T : Brand<'type is not nullable', 'TypeError'>): Exclude; export declare function assertMatches(str: string, regex: RegExp): RegExpMatchArray;