15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
import { Main } from '..';
|
|
/**
|
|
@hidden
|
|
*/
|
|
export declare const testSymbol: unique symbol;
|
|
/**
|
|
@hidden
|
|
*/
|
|
export declare const isPredicate: (value: unknown) => value is BasePredicate<unknown>;
|
|
/**
|
|
@hidden
|
|
*/
|
|
export interface BasePredicate<T = unknown> {
|
|
[testSymbol](value: T, main: Main, label: string | Function, idLabel?: boolean): void;
|
|
}
|