import type { Workspace } from '../../../pm/index.ts';
export interface CheckPackageOptions {
    /**
     * Set of package names to exclude from unused-dependency checks.
     * Legacy programmatic API only; xy.config excludes are source paths.
     */
    exclude?: Set<string>;
    fix?: boolean;
    shouldCheckDeps?: boolean;
    shouldCheckDevDeps?: boolean;
    shouldCheckPeerDeps?: boolean;
    verbose?: boolean;
    /** Names of all workspace packages in the monorepo (for workspace: protocol checks) */
    workspaceNames?: Set<string>;
}
export declare function checkPackage({ name, location, shouldCheckDeps, shouldCheckDevDeps, exclude, fix, shouldCheckPeerDeps, verbose, workspaceNames, }: CheckPackageOptions & Workspace): number;
//# sourceMappingURL=checkPackage.d.ts.map