the-moby-effect
Version:
Moby/Docker API client built using effect-ts
37 lines • 915 B
TypeScript
/**
* Mac Address schema.
*
* @since 1.0.0
*/
import * as Brand from "effect/Brand";
import * as Schema from "effect/Schema";
/**
* @since 1.0.0
* @category Regular expressions
* @see https://stackoverflow.com/questions/4260467/what-is-a-regular-expression-for-a-mac-address
*/
export declare const MacAddressRegex: RegExp;
/**
* @since 1.0.0
* @category Branded types
*/
export type MacAddressBrand = string & Brand.Brand<"MacAddress">;
/**
* @since 1.0.0
* @category Branded constructors
*/
export declare const MacAddressBrand: Brand.Brand.Constructor<MacAddressBrand>;
/**
* @since 1.0.0
* @category Api interface
*/
export interface MacAddress extends Schema.Annotable<MacAddress, MacAddressBrand, Brand.Brand.Unbranded<MacAddressBrand>, never> {
}
/**
* A Mac Address.
*
* @since 1.0.0
* @category Schemas
*/
export declare const MacAddress: MacAddress;
//# sourceMappingURL=mac.d.ts.map