import type { Ref } from "../types/api/ref";
/**
 * Returns the ref from a list of given refs with a matching label.
 *
 * @param refs - A list of refs to search.
 * @param id - The label of the ref to find.
 *
 * @returns The ref with a matching label from the list.
 *
 * @throws If a matching ref cannot be found.
 */
export declare const findRefByLabel: (refs: Ref[], label: string) => Ref;
