plywood
Version:
A query planner and executor
23 lines • 632 B
TypeScript
import { Instance } from 'immutable-class';
import { PlyType } from '../types';
export interface IpValue {
ip: string;
}
export interface IpJS {
type: PlyType;
ip: string;
}
export declare class Ip implements Instance<IpValue, IpJS> {
static type: string;
readonly ip: string;
static isIp(candidate: any): candidate is Ip;
static fromString(ipString: string): Ip;
static fromJS(parameters: IpJS): Ip;
constructor(parameters: IpValue);
toJSON(): IpJS;
equals(other: Ip | undefined): boolean;
valueOf(): IpJS;
toJS(): IpJS;
toString(): string;
}
//# sourceMappingURL=ip.d.ts.map