import { type CollectionProfile, type PdppLaunch } from "./profile.js"; /** Where one connector's entry point and manifest are in a checkout. */ export interface LocalConnectorFiles { /** The directory passed in, resolved to an absolute path. */ root: string; entry: string; manifestPath: string; } /** * Locate a connector in a checkout without reading anything. Both layouts * are accepted: connectors at the root (`connectors//index.ts` with * `connectors//manifest.json`), and the earlier * `packages/polyfill-connectors/connectors//index.ts` with * `manifests/.json`. */ export declare function findLocalConnectorFiles(checkout: string, source: string): LocalConnectorFiles; /** * Read and validate a connector's manifest from a checkout. The manifest * has to name the same connector it sits under: the key is what state, * the browser profile and every ingested scope are filed under, so a * mismatch would quietly mix two connectors' data. */ export declare function readLocalProfile(checkout: string, source: string): Promise<{ files: LocalConnectorFiles; profile: CollectionProfile; }>; /** * Run a connector from a data-connectors checkout instead of a signed * artifact, the way `connector-dev` does, so an author can test it before it * is published. The checkout's own `node_modules` supplies tsx and the * browser driver. */ export declare function resolveLocalLaunch(checkout: string, source: string): Promise; //# sourceMappingURL=local.d.ts.map