import type { Eq } from "@principia/prelude/Eq"; import type { Predicate } from "../Function"; import type { ReadonlyRecord } from "./model"; /** * Test whether a given record contains the given key * * @category Guards * @since 1.0.0 */ export declare const has_: (r: Readonly>, k: string) => k is N; /** * Test whether a given record contains the given key * * @category Guards * @since 1.0.0 */ export declare function has(k: string, r: ReadonlyRecord): k is N; /** * Test whether one record contains all of the keys and values contained in another record * * @category Guards * @since 1.0.0 */ export declare const isSubrecord_: ( E: Eq ) => (me: Readonly>, that: Readonly>) => boolean; /** * Test whether one record contains all of the keys and values contained in another record * * @category Guards * @since 1.0.0 */ export declare const isSubrecord: ( E: Eq ) => (that: Readonly>) => (me: Readonly>) => boolean; /** * @category Guards * @since 1.0.0 */ export declare const every_: (r: Readonly>, predicate: Predicate) => boolean; /** * @category Guards * @since 1.0.0 */ export declare const every: (predicate: Predicate) => (r: Readonly>) => boolean; /** * @category Guards * @since 1.0.0 */ export declare const some_: (r: Readonly>, predicate: (a: A) => boolean) => boolean; /** * @category Guards * @since 1.0.0 */ export declare const some: ( predicate: (a: A) => boolean ) => (r: Readonly>) => boolean; /** * @category Guards * @since 1.0.0 */ export declare const elem_: (E: Eq) => (r: Readonly>, a: A) => boolean; /** * @category Guards * @since 1.0.0 */ export declare const elem: (E: Eq) => (a: A) => (r: Readonly>) => boolean; //# sourceMappingURL=guards.d.ts.map