import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ReferenceRep, ReferenceRep$Outbound } from "./referencerep.js";
export type BranchRep = {
    /**
     * The branch name
     */
    name: string;
    /**
     * An ID representing the branch HEAD. For example, a commit SHA.
     */
    head: string;
    /**
     * An optional ID used to prevent older data from overwriting newer data
     */
    updateSequenceId?: number | undefined;
    syncTime: number;
    /**
     * An array of flag references found on the branch
     */
    references?: Array<ReferenceRep> | undefined;
    /**
     * The location and content type of related resources
     */
    links: {
        [k: string]: any;
    };
};
/** @internal */
export declare const BranchRep$inboundSchema: z.ZodType<BranchRep, z.ZodTypeDef, unknown>;
/** @internal */
export type BranchRep$Outbound = {
    name: string;
    head: string;
    updateSequenceId?: number | undefined;
    syncTime: number;
    references?: Array<ReferenceRep$Outbound> | undefined;
    _links: {
        [k: string]: any;
    };
};
/** @internal */
export declare const BranchRep$outboundSchema: z.ZodType<BranchRep$Outbound, z.ZodTypeDef, BranchRep>;
export declare function branchRepToJSON(branchRep: BranchRep): string;
export declare function branchRepFromJSON(jsonString: string): SafeParseResult<BranchRep, SDKValidationError>;
//# sourceMappingURL=branchrep.d.ts.map