export interface OrgMember {
    deviceId: string;
    role: 'admin' | 'member' | 'viewer';
    joinedAt: number;
}
export interface Organization {
    id: string;
    name: string;
    members: OrgMember[];
    teams: OrgTeam[];
    createdAt: number;
}
export interface OrgTeam {
    id: string;
    name: string;
    memberDeviceIds: string[];
    description: string;
}
export interface AuditEntry {
    timestamp: number;
    actor: string;
    action: string;
    resource: string;
    detail: string;
}
export declare function createOrganization(name: string, creatorDeviceId: string): Organization;
export declare function getOrganization(orgId: string): Organization | null;
export declare function addMember(orgId: string, deviceId: string, role: OrgMember['role'], actorDeviceId: string): Organization | null;
export declare function removeMember(orgId: string, deviceId: string, actorDeviceId: string): Organization | null;
export declare function createTeam(orgId: string, name: string, description: string, actorDeviceId: string): Organization | null;
export declare function addToTeam(orgId: string, teamId: string, deviceId: string, actorDeviceId: string): Organization | null;
export declare function getAuditLog(limit?: number): AuditEntry[];
export declare function listOrganizations(): string[];
//# sourceMappingURL=organization-memory.d.ts.map