export interface DeploymentIdentity {
    deploymentId: string;
    name: string;
    /** The owner's tenant-stable Feishu identity, bound once via /pair. Used as
     *  the "operator" when this deployment initiates 拉群 (so the operator is
     *  pulled into the group). Absent until bound. */
    ownerUnionId?: string;
    ownerName?: string;
}
/** Load (creating + persisting on first call) this deployment's identity. */
export declare function getDeploymentIdentity(dataDir: string): DeploymentIdentity;
/** Rename this deployment (owner-facing label). Returns the updated identity. */
export declare function setDeploymentName(dataDir: string, name: string): DeploymentIdentity;
/** Bind the owner's Feishu identity (via /pair or auto-bind). Also adopts the
 *  owner's Feishu name as the DEPLOYMENT name — the deployment is shown to the
 *  team by its owner's real name (no custom labels), so the roster reads
 *  naturally ("申晗 的部署" instead of a hostname). Returns the updated identity. */
export declare function setDeploymentOwner(dataDir: string, owner: {
    unionId?: string;
    name?: string;
}): DeploymentIdentity;
//# sourceMappingURL=deployment-identity.d.ts.map