import { SkPoint } from "../core/SkPoint"; import { SkDPoint, SkDVector } from "./SkPathOpsPoint"; import { SkDLine } from "./SkPathOpsLine"; import { SkIntersections } from "./SkIntersections"; import { SkTCurve } from "./SkPathOpsTCurve"; import type { SkDConic } from "./SkPathOpsConic"; import type { SkDCubic } from "./SkPathOpsCubic"; import type { SkDRect } from "./SkPathOpsRect"; export declare class SkDQuadPair { pts: SkDPoint[]; first(): SkDQuad; second(): SkDQuad; } export declare class SkDQuad { static readonly kPointCount = 3; static readonly kPointLast: number; static readonly kMaxIntersections = 4; fPts: SkDPoint[]; at(n: number): SkDPoint; collapsed(): boolean; controlsInside(): boolean; debugInit(): void; flip(): SkDQuad; static IsConic(): boolean; set(pts: SkPoint[]): this; static AddValidTs(s: number[], realRoots: number, t: number[]): number; align(endIndex: number, dstPt: SkDPoint): void; chopAt(t: number): SkDQuadPair; dxdyAtT(t: number): SkDVector; static FindExtrema(src: number[], tValue: number[]): number; horizontalIntersect(yIntercept: number, roots: number[]): number; hullIntersectsQuad(q2: SkDQuad, isLinear: boolean[]): boolean; hullIntersectsConic(conic: SkDConic, isLinear: boolean[]): boolean; hullIntersectsCubic(cubic: SkDCubic, isLinear: boolean[]): boolean; isLinear(startIndex: number, endIndex: number): boolean; static maxIntersections(): number; monotonicInX(): boolean; monotonicInY(): boolean; otherPts(oddMan: number, endPt: SkDPoint[]): void; static pointCount(): number; static pointLast(): number; ptAtT(t: number): SkDPoint; static RootsReal(A: number, B: number, C: number, s: number[]): number; static RootsValidT(A: number, B: number, C: number, t: number[]): number; static SetABC(quad: number[], abc: number[]): void; subDivide(t1: number, t2: number): SkDQuad; subDivideInto(t1: number, t2: number, quad: SkDQuad): void; static SubDivide(a: SkPoint[], t1: number, t2: number): SkDQuad; subDividePt(a: SkDPoint, c: SkDPoint, t1: number, t2: number): SkDPoint; static SubDividePt(pts: SkPoint[], a: SkDPoint, c: SkDPoint, t1: number, t2: number): SkDPoint; verticalIntersect(xIntercept: number, roots: number[]): number; } export declare class SkTQuad extends SkTCurve { fQuad: SkDQuad; constructor(q?: SkDQuad); at(n: number): SkDPoint; collapsed(): boolean; controlsInside(): boolean; debugInit(): void; dxdyAtT(t: number): SkDVector; hullIntersectsQuad(quad: SkDQuad, isLinear: boolean[]): boolean; hullIntersectsConic(conic: SkDConic, isLinear: boolean[]): boolean; hullIntersectsCubic(cubic: SkDCubic, isLinear: boolean[]): boolean; hullIntersects(curve: SkTCurve, isLinear: boolean[]): boolean; intersectRay(i: SkIntersections, line: SkDLine): number; isConic(): boolean; make(): SkTCurve; maxIntersections(): number; otherPts(oddMan: number, endPt: SkDPoint[]): void; pointCount(): number; pointLast(): number; ptAtT(t: number): SkDPoint; setBounds(rect: SkDRect): void; subDivide(t1: number, t2: number, curve: SkTCurve): void; }