export interface OwnedEntity {
    organizationId: string;
    createdById: string | null;
}
export interface AssertOwnOptions {
    entityLabel: string;
    allowSystemOwner?: boolean;
}
export declare function assertOwn<T extends OwnedEntity>(entity: T | null, organizationId: string, userId: string, options: AssertOwnOptions): T;
