import Constraint from "./constraint"; export declare type Orientation = "above" | "below" | "left" | "right" | "center"; export declare type Edge = "leftEdge" | "rightEdge" | "topEdge" | "bottomEdge" | "center"; declare class API { readonly topEdge = "topEdge"; readonly bottomEdge = "bottomEdge"; readonly leftEdge = "leftEdge"; readonly rightEdge = "rightEdge"; readonly center = "center"; orientAbove: Builder; orientBelow: Builder; orientRight: Builder; orientLeft: Builder; orientCenter: Builder; constructor(); } declare class Builder { orientation: Orientation; constraints: Constraint[]; next: Builder | null; constructor(orientation: Orientation); andSnapTo(...edges: Edge[]): this; andSlideBetween(...edges: Edge[]): this; where(condition: () => boolean): this; then(next: Builder): this; } export default function build(definition: (this: API) => Builder): Constraint[]; export {}; //# sourceMappingURL=builder.d.ts.map