import { PrismaService } from "../../../core/database/prisma/prisma.service";
import { CreateUserDto, UpdateUserDto, AssignRolesDto, TerminateUserDto, ActivateUserDto, RestoreUserDto, UpdateUserStatusDto, UserQueryDto, ImportUserMembershipsDto } from './dto/user.dto';
import { UserDepartmentsService } from '../user-departments/user-departments.service';
import { AuthCacheService } from '../auth/services/auth-cache.service';
export declare class UsersService {
    private prisma;
    private userDepartmentsService;
    private authCache;
    private readonly logger;
    constructor(prisma: PrismaService, userDepartmentsService: UserDepartmentsService, authCache: AuthCacheService);
    validateManagerRelation(userId: string, managerId: string | null): Promise<void>;
    validateEmployeeId(employeeId: string | null, excludeUserId?: string): Promise<void>;
    create(createUserDto: CreateUserDto): Promise<{
        [x: string]: {
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        }[] | ({
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        } | {
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        })[] | ({
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        } | {
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        })[] | ({
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        } | {
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        })[] | ({
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        } | {
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        })[] | ({
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        } | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        })[] | ({
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        } | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        })[] | ({
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        } | {
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        })[] | ({
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        } | {
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        })[] | ({
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        } | {
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        })[] | ({
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        } | {
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        })[] | ({
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        } | {
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        })[] | ({
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        } | {
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        })[] | ({
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        } | {
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        } | {
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        })[] | ({
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        } | {
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        })[] | ({
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        } | {
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        })[] | ({
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        } | {
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        })[] | ({
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        } | {
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        })[] | ({
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        } | {
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        } | {
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        })[] | ({
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        } | {
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        })[] | ({
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        } | {
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        })[] | ({
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        } | {
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        })[] | ({
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        } | {
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        })[] | ({
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        } | {
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        })[] | ({
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        } | {
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        })[] | ({
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        } | {
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        })[] | ({
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        } | {
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        } | {
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        })[] | {
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        }[] | {
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        }[] | {
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        }[] | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        }[] | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        }[] | {
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        }[] | {
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        }[] | {
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        }[] | {
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        }[] | {
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        }[] | {
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        }[] | {
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        }[] | {
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        }[] | {
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        }[] | {
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        }[] | {
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        }[] | {
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        }[] | {
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        }[] | {
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        }[] | {
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        }[] | {
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        }[] | {
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        }[] | {
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        }[] | {
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        }[] | {
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        }[];
        [x: number]: never;
        [x: symbol]: never;
        displayName: string;
        id: string;
        employeeId: string | null;
        createdAt: Date;
        tenantId: string | null;
        status: import("@prisma/client").$Enums.UserStatus;
        username: string;
        email: string;
        avatar: string | null;
        phone: string | null;
        source: import("@prisma/client").$Enums.UserSource;
        ldapDn: string | null;
        ldapSyncedAt: Date | null;
        externalId: string | null;
        externalSource: string | null;
        adpAoid: string | null;
        adpLinkedAt: Date | null;
        defaultRegion: string;
        workCity: string | null;
        hiredAt: Date | null;
        terminatedAt: Date | null;
        metadata: import("@prisma/client/runtime/library").JsonValue;
        updatedAt: Date;
        deletedAt: Date | null;
    }>;
    importMemberships(importDto: ImportUserMembershipsDto): Promise<{
        total: number;
        successCount: number;
        failedCount: number;
        results: {
            success: any[];
            failed: any[];
        };
    }>;
    findAll(query: UserQueryDto): Promise<{
        items: any[];
        total: number;
        page: number;
        limit: number;
        totalPages: number;
        hasNext: boolean;
        hasPrev: boolean;
    }>;
    findOne(id: string): Promise<{
        [x: string]: {
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        }[] | ({
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        } | {
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        })[] | ({
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        } | {
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        })[] | ({
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        } | {
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        })[] | ({
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        } | {
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        })[] | ({
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        } | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        })[] | ({
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        } | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        })[] | ({
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        } | {
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        })[] | ({
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        } | {
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        })[] | ({
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        } | {
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        })[] | ({
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        } | {
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        })[] | ({
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        } | {
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        })[] | ({
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        } | {
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        })[] | ({
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        } | {
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        } | {
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        })[] | ({
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        } | {
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        })[] | ({
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        } | {
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        })[] | ({
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        } | {
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        })[] | ({
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        } | {
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        })[] | ({
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        } | {
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        } | {
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        })[] | ({
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        } | {
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        })[] | ({
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        } | {
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        })[] | ({
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        } | {
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        })[] | ({
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        } | {
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        })[] | ({
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        } | {
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        })[] | ({
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        } | {
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        })[] | ({
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        } | {
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        })[] | ({
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        } | {
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        } | {
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        })[] | {
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        }[] | {
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        }[] | {
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        }[] | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        }[] | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        }[] | {
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        }[] | {
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        }[] | {
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        }[] | {
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        }[] | {
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        }[] | {
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        }[] | {
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        }[] | {
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        }[] | {
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        }[] | {
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        }[] | {
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        }[] | {
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        }[] | {
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        }[] | {
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        }[] | {
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        }[] | {
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        }[] | {
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        }[] | {
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        }[] | {
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        }[] | {
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        }[];
        [x: number]: never;
        [x: symbol]: never;
        displayName: string;
        id: string;
        employeeId: string | null;
        createdAt: Date;
        tenantId: string | null;
        status: import("@prisma/client").$Enums.UserStatus;
        username: string;
        email: string;
        avatar: string | null;
        phone: string | null;
        source: import("@prisma/client").$Enums.UserSource;
        ldapDn: string | null;
        ldapSyncedAt: Date | null;
        externalId: string | null;
        externalSource: string | null;
        adpAoid: string | null;
        adpLinkedAt: Date | null;
        defaultRegion: string;
        workCity: string | null;
        hiredAt: Date | null;
        terminatedAt: Date | null;
        metadata: import("@prisma/client/runtime/library").JsonValue;
        updatedAt: Date;
        deletedAt: Date | null;
    }>;
    findOneWithPermissions(id: string): Promise<{
        permissions: string[];
        displayName: string;
        id: string;
        employeeId: string | null;
        createdAt: Date;
        tenantId: string | null;
        status: import("@prisma/client").$Enums.UserStatus;
        username: string;
        email: string;
        avatar: string | null;
        phone: string | null;
        source: import("@prisma/client").$Enums.UserSource;
        ldapDn: string | null;
        ldapSyncedAt: Date | null;
        externalId: string | null;
        externalSource: string | null;
        adpAoid: string | null;
        adpLinkedAt: Date | null;
        defaultRegion: string;
        workCity: string | null;
        hiredAt: Date | null;
        terminatedAt: Date | null;
        metadata: import("@prisma/client/runtime/library").JsonValue;
        updatedAt: Date;
        deletedAt: Date | null;
    }>;
    update(id: string, updateUserDto: UpdateUserDto): Promise<{
        [x: string]: {
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        }[] | ({
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        } | {
            region: string;
            id: string;
            currentHash: string;
            signature: string | null;
            createdAt: Date;
            archivedAt: Date | null;
            when: Date;
            module: string;
            action: import("@prisma/client").$Enums.AuditAction;
            userId: string | null;
            tenantId: string;
            who: string;
            what: string;
            where: string;
            why: string | null;
            how: string;
            entityType: string;
            entityId: string;
            oldValue: import("@prisma/client/runtime/library").JsonValue | null;
            newValue: import("@prisma/client/runtime/library").JsonValue | null;
            changes: import("@prisma/client/runtime/library").JsonValue | null;
            sessionId: string;
            traceId: string;
            requestId: string;
            ipAddress: string;
            userAgent: string;
            deviceId: string | null;
            geoLocation: string | null;
            businessType: string | null;
            businessKey: string | null;
            status: import("@prisma/client").$Enums.AuditStatus;
            errorMessage: string | null;
            duration: number | null;
            isFinancial: boolean;
            isSensitive: boolean;
            riskLevel: import("@prisma/client").$Enums.RiskLevel;
            complianceLevel: import("@prisma/client").$Enums.ComplianceLevel;
            retentionYears: number;
            previousHash: string | null;
        })[] | ({
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        } | {
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        })[] | ({
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        } | {
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        })[] | ({
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        } | {
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        })[] | ({
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        } | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        })[] | ({
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        } | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        })[] | ({
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        } | {
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        })[] | ({
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        } | {
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        })[] | ({
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        } | {
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        })[] | ({
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        } | {
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        })[] | ({
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        } | {
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        })[] | ({
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        } | {
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        })[] | ({
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        } | {
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        } | {
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        })[] | ({
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        } | {
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        })[] | ({
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        } | {
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        })[] | ({
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        } | {
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        })[] | ({
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        } | {
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        })[] | ({
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        } | {
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        } | {
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        })[] | ({
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        } | {
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        })[] | ({
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        } | {
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        })[] | ({
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        } | {
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        })[] | ({
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        } | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        })[] | ({
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        } | {
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        })[] | ({
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        } | {
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        })[] | ({
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        } | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        })[] | ({
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        } | {
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        })[] | ({
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        } | {
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        })[] | ({
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        } | {
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        } | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        })[] | ({
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        } | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        })[] | ({
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        } | {
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        })[] | ({
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        } | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        })[] | {
            title: string | null;
            id: string;
            businessType: string;
            businessKey: string;
            status: import("@prisma/client").$Enums.InstanceStatus;
            startTime: Date;
            endTime: Date | null;
            regionId: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue;
            priority: number;
            workflowId: string;
            initiatorId: string;
            workflowRunId: string;
            businessId: string;
            dueDate: Date | null;
            versionId: string;
            currentNodeId: string | null;
            currentNode: string | null;
            totalNodeExecutions: number;
            endReason: string | null;
            endComment: string | null;
        }[] | {
            id: string;
            action: import("@prisma/client").$Enums.ApprovalTaskAction;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            riskLevel: import("@prisma/client").$Enums.RiskLevel | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            taskId: string;
            comment: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            targetNodeId: string | null;
            instanceId: string;
            operatorId: string;
            actionTime: Date;
            targetUserId: string | null;
            addSignUsers: string[];
            formDataChanges: import("@prisma/client/runtime/library").JsonValue | null;
            adminReason: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ApprovalAdminExportStatus;
            errorMessage: string | null;
            updatedAt: Date;
            format: string;
            filters: import("@prisma/client/runtime/library").JsonValue;
            startedAt: Date | null;
            completedAt: Date | null;
            requestedBy: string;
            fileKey: string | null;
            fileName: string | null;
            fileSize: bigint | null;
            contentType: string | null;
            totalRows: number | null;
            expiresAt: Date | null;
        }[] | {
            partnerContact: string | null;
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ContractStatus;
            startDate: Date | null;
            endDate: Date | null;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            contractType: import("@prisma/client").$Enums.ContractType;
            partnerName: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            sealRequired: boolean;
            sealAppliedAt: Date | null;
            signDate: Date | null;
        }[] | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.ExpenseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            category: import("@prisma/client").$Enums.ExpenseCategory;
            creatorId: string;
            amount: import("@prisma/client/runtime/library").Decimal;
            workflowInstanceId: string | null;
            expenseDate: Date;
        }[] | {
            currency: string;
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.PurchaseStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            attachments: import("@prisma/client/runtime/library").JsonValue | null;
            creatorId: string;
            workflowInstanceId: string | null;
            totalAmount: import("@prisma/client/runtime/library").Decimal;
            vendorName: string;
            vendorContact: string | null;
            expectedDeliveryDate: Date | null;
            actualDeliveryDate: Date | null;
        }[] | {
            type: import("@prisma/client").$Enums.AutomationTaskType;
            timeout: number;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.AutomationTaskStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            createdById: string | null;
            retryCount: number;
            config: import("@prisma/client/runtime/library").JsonValue;
            scheduleType: string;
            scheduleConfig: import("@prisma/client/runtime/library").JsonValue;
            lastRunAt: Date | null;
            lastStatus: import("@prisma/client").$Enums.AutomationExecutionStatus | null;
            nextRunAt: Date | null;
            totalRuns: number;
            successRuns: number;
            failedRuns: number;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormStatus;
            name: string;
            updatedAt: Date;
            description: string | null;
            requiresApproval: boolean;
            key: string;
            organizationId: string | null;
            aliases: import("@prisma/client/runtime/library").JsonValue | null;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            latestVersion: number;
            slug: string;
            slugHistory: import("@prisma/client/runtime/library").JsonValue | null;
            defaultLocale: string;
            supportedLocales: import("@prisma/client/runtime/library").JsonValue;
            approvalProcessKey: string | null;
        }[] | {
            formVersion: number;
            data: import("@prisma/client/runtime/library").JsonValue;
            id: string;
            createdAt: Date;
            businessKey: string;
            status: import("@prisma/client").$Enums.FormInstanceStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            regionId: string | null;
            updatedBy: string | null;
            createdBy: string;
            formKey: string;
            formDefinitionId: string;
            formVersionId: string;
            snapshotId: string | null;
            submittedBy: string | null;
            submittedAt: Date | null;
            approvalInstanceId: string | null;
            approvalStatus: string | null;
            approvalStartTime: Date | null;
            approvalEndTime: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            isPublic: boolean;
            template: import("@prisma/client/runtime/library").JsonValue;
            updatedBy: string | null;
            createdBy: string;
            icon: string | null;
            color: string | null;
            category: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            isBuiltin: boolean;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.FormVersionStatus;
            reviewComment: string | null;
            validation: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: number;
            isDefault: boolean;
            definitionId: string;
            nameI18n: import("@prisma/client/runtime/library").JsonValue;
            descriptionI18n: import("@prisma/client/runtime/library").JsonValue | null;
            schema: import("@prisma/client/runtime/library").JsonValue;
            uiSchema: import("@prisma/client/runtime/library").JsonValue | null;
            viewSchema: import("@prisma/client/runtime/library").JsonValue | null;
            changelog: string | null;
            reviewedBy: string | null;
            reviewedAt: Date | null;
            publishedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            organizationId: string | null;
            roleId: string;
            lastReviewedAt: Date | null;
            lastReviewedBy: string | null;
            reviewComment: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            workflowRoleId: string;
        }[] | {
            title: string | null;
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            departmentId: string;
            positionId: string | null;
            managerId: string | null;
            isPrimary: boolean;
            joinedAt: Date;
            leftAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.NotificationSendStatus;
            errorMessage: string | null;
            metadata: import("@prisma/client/runtime/library").JsonValue | null;
            updatedAt: Date;
            channel: import("@prisma/client").$Enums.NotificationChannel;
            subject: string | null;
            variables: import("@prisma/client/runtime/library").JsonValue | null;
            priority: import("@prisma/client").$Enums.NotificationPriority;
            content: string;
            recipientEmail: string | null;
            sentAt: Date | null;
            retryCount: number;
            maxRetries: number;
            nextRetryAt: Date | null;
            recipientId: string;
            templateId: string | null;
        }[] | {
            type: import("@prisma/client").$Enums.NotificationType;
            link: string | null;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.NotificationStatus;
            content: string;
            readAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            startTime: Date | null;
            endTime: Date | null;
            reason: string | null;
            enabled: boolean;
            scope: import("@prisma/client").$Enums.DelegationScope;
            delegateUserId: string;
            processKeys: string[];
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.KnowledgeArticleStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            createdById: string;
            content: string;
        }[] | {
            feedback: import("@prisma/client").$Enums.QAFeedback | null;
            id: string;
            createdAt: Date;
            userId: string;
            question: string;
            answer: string;
            sourceDocuments: import("@prisma/client/runtime/library").JsonValue | null;
            confidence: number | null;
            modelUsed: string | null;
            tokensUsed: number | null;
            cost: number | null;
            responseTimeMs: number | null;
            feedbackComment: string | null;
        }[] | {
            id: string;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
            viewedAt: Date;
            viewDate: Date;
        }[] | {
            type: import("@prisma/client").$Enums.LikeType;
            id: string;
            createdAt: Date;
            userId: string;
            spDocumentId: string | null;
            articleId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            deletedAt: Date | null;
            parentId: string | null;
            content: string;
            spDocumentId: string | null;
            articleId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            readAt: Date | null;
            commentId: string;
            mentionedUserId: string;
        }[] | {
            id: string;
            createdAt: Date;
            deletedAt: Date | null;
            objectiveId: string;
            assigneeId: string;
        }[] | {
            type: import("@prisma/client").$Enums.FeedbackType;
            region: string;
            title: string;
            id: string;
            createdAt: Date;
            userId: string;
            userAgent: string | null;
            status: import("@prisma/client").$Enums.FeedbackStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            priority: import("@prisma/client").$Enums.FeedbackPriority | null;
            content: string;
            attachments: string[];
            assigneeId: string | null;
            pageUrl: string | null;
            adminNote: string | null;
            adminReply: string | null;
            resolvedAt: Date | null;
        }[] | {
            title: string;
            code: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.DevItemStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            parentId: string | null;
            priority: import("@prisma/client").$Enums.DevItemPriority;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            severity: import("@prisma/client").$Enums.DevItemSeverity | null;
            completedAt: Date | null;
            reviewedAt: Date | null;
            itemType: import("@prisma/client").$Enums.DevItemType;
            moduleKey: string | null;
            ownerId: string;
            reporterId: string;
            reviewerId: string | null;
            startAt: Date | null;
            devEtaAt: Date | null;
            testEtaAt: Date | null;
            etaAt: Date | null;
            devCompletedAt: Date | null;
            testCompletedAt: Date | null;
            labels: import("@prisma/client/runtime/library").JsonValue | null;
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            content: import("@prisma/client/runtime/library").JsonValue | null;
            createdBy: string;
            version: string;
            releasedAt: Date;
        }[] | {
            code: string;
            id: string;
            createdAt: Date;
            name: string;
            updatedAt: Date;
            description: string | null;
            address: string | null;
            isActive: boolean;
            timezone: string;
            createdBy: string;
            latitude: number;
            longitude: number;
            geoPolicy: import("@prisma/client").$Enums.SiteGeoPolicy;
            geoRadius: number;
            geoAccuracyThreshold: number;
            allowUnauthenticatedCheckin: boolean;
            accessMode: import("@prisma/client").$Enums.SiteCheckpointAccessMode;
            qrRotationSeconds: number | null;
            qrGraceSeconds: number;
            sharedCheckinEnabled: boolean;
            sharedCompanyId: string | null;
            sharedCompanyLabel: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            timestamp: Date;
            latitude: number | null;
            longitude: number | null;
            checkpointId: string;
            eventType: import("@prisma/client").$Enums.SiteEventType;
            localDate: string;
            authMethod: import("@prisma/client").$Enums.SiteAuthMethod;
            accuracy: number | null;
            geoStatus: import("@prisma/client").$Enums.SiteGeoStatus;
            distanceToCheckpoint: number | null;
        }[] | {
            id: string;
            userId: string;
            updatedAt: Date;
            checkpointId: string;
            localDate: string;
            firstCheckInAt: Date | null;
            lastCheckOutAt: Date | null;
            checkInCount: number;
            checkOutCount: number;
            hasGeoAnomaly: boolean;
            lastEventId: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            sortOrder: number;
            updatedAt: Date;
            isActive: boolean;
            updatedBy: string;
            createdBy: string;
            checkpointId: string;
            companyId: string;
            companyLabel: string;
            displayLabel: string | null;
            targetUrl: string;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string | null;
            status: import("@prisma/client").$Enums.AttendanceStatus;
            updatedAt: Date;
            meetingId: string;
            checkinTime: Date | null;
            checkoutTime: Date | null;
            isLate: boolean;
            isEarlyLeave: boolean;
            notes: string | null;
            checkinType: import("@prisma/client").$Enums.CheckinType | null;
        }[] | {
            role: import("@prisma/client").$Enums.AttendeeRole;
            id: string;
            createdAt: Date;
            userId: string;
            meetingId: string;
            checkinMode: import("@prisma/client").$Enums.AttendanceMode | null;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            duration: number;
            name: string;
            updatedAt: Date;
            description: string | null;
            timezone: string;
            isPublic: boolean;
            creatorId: string;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            templateId: string;
        }[] | {
            type: import("@prisma/client").$Enums.LeaveType;
            id: string;
            createdAt: Date;
            userId: string;
            status: import("@prisma/client").$Enums.LeaveStatus;
            startDate: Date;
            endDate: Date;
            updatedAt: Date;
            reason: string | null;
        }[] | {
            userRole: string;
            id: string;
            createdAt: Date;
            action: string;
            userId: string;
            changes: string | null;
            sessionId: string | null;
            traceId: string | null;
            requestId: string | null;
            ipAddress: string | null;
            userAgent: string | null;
            deviceId: string | null;
            geoLocation: string | null;
            errorMessage: string | null;
            duration: number | null;
            source: string;
            resource: string;
            endpoint: string;
            method: string;
            statusCode: number;
            userName: string;
            requestBody: string | null;
            userEmail: string;
            resourceId: string | null;
            fieldDiffs: string | null;
            reasonCode: string | null;
            reasonText: string | null;
            prevHash: string | null;
            hash: string | null;
            isRedacted: boolean;
            isTombstoned: boolean;
            retentionUntil: Date | null;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.MeetingStatus;
            updatedAt: Date;
            description: string | null;
            startTime: Date;
            endTime: Date;
            timezone: string;
            creatorId: string;
            qrCodeOnline: string | null;
            qrCodeOffline: string | null;
            seriesId: string | null;
            instanceNumber: number | null;
            isSeriesMaster: boolean;
            hasCustomAttendees: boolean;
            city: string | null;
            enforceCheckinMode: boolean;
        }[] | {
            type: import("@prisma/client").$Enums.MeetingType;
            location: string | null;
            title: string;
            id: string;
            createdAt: Date;
            startDate: Date;
            endDate: Date | null;
            updatedAt: Date;
            description: string | null;
            isActive: boolean;
            timezone: string;
            frequency: number;
            creatorId: string;
            city: string | null;
            enforceCheckinMode: boolean;
            pattern: import("@prisma/client").$Enums.RecurrencePattern;
            maxOccurrences: number | null;
        }[] | {
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            seriesId: string;
            defaultCheckinMode: import("@prisma/client").$Enums.AttendanceMode;
            updatedByUserId: string | null;
        }[] | {
            userId: string;
            reason: string | null;
            seriesId: string;
            excludedBy: string;
            excludedAt: Date;
        }[] | {
            title: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            meetingId: string;
        }[] | {
            title: string;
            code: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            description: string | null;
            organizationId: string | null;
            order: number;
            createdById: string;
            sectionId: string;
            timeMinutes: number | null;
            presenterUserId: string | null;
            categoryTag: import("@prisma/client").$Enums.AgendaCategoryTag | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.UploadTaskStatus;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            completedAt: Date | null;
            agendaItemId: string;
            assigneeUserId: string;
            assignedById: string;
            dueAt: Date | null;
            assignedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            agendaItemId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date | null;
            organizationId: string | null;
            createdById: string;
            size: bigint;
            filename: string;
            mimeType: string;
            category: import("@prisma/client").$Enums.MeetingAttachmentCategory | null;
            meetingId: string;
            uploadedById: string;
            storagePath: string;
            uploadedAt: Date;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            reason: string | null;
            createdBy: string | null;
            toolName: string;
            effect: string;
        }[] | {
            id: string;
            userId: string;
            adpAoid: string;
            startTime: Date;
            endTime: Date;
            leaveDate: Date;
            adpEntryId: string;
            syncedAt: Date;
        }[] | {
            displayName: string | null;
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            runtime: import("@prisma/client").$Enums.InternalAppRuntime;
            url: string;
            retentionUntil: Date | null;
            employeeSlug: string;
            appSlug: string;
            giteaRepoFullName: string;
            lastDeployedAt: Date | null;
            currentDeploymentId: string | null;
            destroyedAt: Date | null;
            forceDisabledAt: Date | null;
            forceDisabledReason: string | null;
            forceDisabledById: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppDeploymentStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            startedAt: Date | null;
            trigger: import("@prisma/client").$Enums.InternalAppDeploymentTrigger;
            appId: string;
            commitSha: string | null;
            buildLogSummary: string | null;
            healthCheckLog: import("@prisma/client/runtime/library").JsonValue | null;
            finishedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            key: string;
            organizationId: string;
            createdById: string;
            appId: string;
            valueEncrypted: import("@prisma/client/runtime/library").Bytes;
            valueIv: import("@prisma/client/runtime/library").Bytes;
            kmsKeyVersion: number;
        }[] | {
            id: string;
            createdAt: Date;
            status: import("@prisma/client").$Enums.InternalAppTokenStatus;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            expiresAt: Date;
            employeeSlug: string;
            tokenHash: string;
            issuedAt: Date;
            revokedReason: import("@prisma/client").$Enums.InternalAppTokenRevokeReason | null;
            lastUsedAt: Date | null;
        }[] | {
            id: string;
            createdAt: Date;
            requestId: string | null;
            userAgent: string | null;
            organizationId: string;
            durationMs: number | null;
            errorCode: string | null;
            eventType: string;
            employeeSlug: string | null;
            appId: string | null;
            actorId: string | null;
            actorRole: import("@prisma/client").$Enums.InternalAppActorRole;
            outcome: import("@prisma/client").$Enums.InternalAppEventOutcome;
            payload: import("@prisma/client/runtime/library").JsonValue;
            ipAddr: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            name: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            revokedAt: Date | null;
            prefix: string;
            tokenHash: string;
            lastUsedAt: Date | null;
            lastUsedIp: string | null;
            revokedById: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            hostname: string;
            osUser: string | null;
            osPlatform: import("@prisma/client").$Enums.AiUsageOsPlatform;
            agentVersion: string | null;
            firstSeenAt: Date;
            firstSeenIp: string | null;
            lastSeenAt: Date;
            blockedAt: Date | null;
            blockedById: string | null;
            blockedReason: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            sessionId: string;
            deviceId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            rawMessageId: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectPath: string;
            projectBasename: string;
            model: string;
            ts: Date;
            receivedAt: Date;
            inputTokens: number;
            outputTokens: number;
            cacheCreationTokens: number;
            cacheReadTokens: number;
            totalTokens: number;
            estimatedCostUsd: import("@prisma/client/runtime/library").Decimal;
            gitBranch: string | null;
            agentVersionEvent: string | null;
            worktreeLabel: string | null;
            cwdBasename: string | null;
            turnIndex: number | null;
            toolUseCount: number | null;
            toolNames: import("@prisma/client/runtime/library").JsonValue | null;
            stopReason: string | null;
            serviceTier: string | null;
        }[] | {
            id: string;
            createdAt: Date;
            userId: string;
            updatedAt: Date;
            organizationId: string;
            createdById: string;
            tool: import("@prisma/client").$Enums.AiUsageTool;
            projectBasename: string;
            model: string;
            inputTokens: bigint;
            outputTokens: bigint;
            cacheCreationTokens: bigint;
            cacheReadTokens: bigint;
            totalTokens: bigint;
            date: Date;
            totalCostUsd: import("@prisma/client/runtime/library").Decimal;
            eventCount: number;
        }[];
        [x: number]: never;
        [x: symbol]: never;
        displayName: string;
        id: string;
        employeeId: string | null;
        createdAt: Date;
        tenantId: string | null;
        status: import("@prisma/client").$Enums.UserStatus;
        username: string;
        email: string;
        avatar: string | null;
        phone: string | null;
        source: import("@prisma/client").$Enums.UserSource;
        ldapDn: string | null;
        ldapSyncedAt: Date | null;
        externalId: string | null;
        externalSource: string | null;
        adpAoid: string | null;
        adpLinkedAt: Date | null;
        defaultRegion: string;
        workCity: string | null;
        hiredAt: Date | null;
        terminatedAt: Date | null;
        metadata: import("@prisma/client/runtime/library").JsonValue;
        updatedAt: Date;
        deletedAt: Date | null;
    }>;
    remove(id: string): Promise<{
        message: string;
    }>;
    restore(userId: string, dto: RestoreUserDto): Promise<{
        userId: string;
        status: import("@prisma/client").$Enums.UserStatus;
        restoredAt: Date;
    }>;
    terminate(userId: string, dto: TerminateUserDto): Promise<{
        userId: string;
        status: import("@prisma/client").$Enums.UserStatus;
        terminatedAt: Date | null;
    }>;
    activate(userId: string, dto: ActivateUserDto): Promise<{
        userId: string;
        status: import("@prisma/client").$Enums.UserStatus;
        activatedAt: Date;
    }>;
    updateStatus(userId: string, dto: UpdateUserStatusDto): Promise<{
        userId: string;
        status: import("@prisma/client").$Enums.UserStatus;
        updatedAt: Date;
    }>;
    private checkLastAdminProtection;
    getUserRoles(userId: string): Promise<{
        id: string;
        code: string;
        name: string;
        description: string | null;
        isBuiltIn: boolean;
        enabled: boolean;
        organizationId: any;
        organization: {
            id: any;
            code: any;
            name: any;
        } | null;
        isGlobal: boolean;
        assignedAt: Date;
    }[]>;
    assignRoles(userId: string, dto: AssignRolesDto): Promise<{
        userId: string;
        assignedRoles: {
            roleId: string;
            roleCode: string;
            roleName: string;
            organizationId: any;
            organization: {
                id: any;
                code: any;
                name: any;
            } | null;
            isGlobal: boolean;
        }[];
    }>;
    addRoles(userId: string, dto: AssignRolesDto): Promise<{
        id: string;
        code: string;
        name: string;
        description: string | null;
        isBuiltIn: boolean;
        enabled: boolean;
        organizationId: any;
        organization: {
            id: any;
            code: any;
            name: any;
        } | null;
        isGlobal: boolean;
        assignedAt: Date;
    }[]>;
    assignRegionRoles(userId: string, roles: {
        roleId: string;
        region?: string | null;
    }[]): Promise<{
        id: string;
        code: string;
        name: string;
        description: string | null;
        isBuiltIn: boolean;
        enabled: boolean;
        organizationId: any;
        organization: {
            id: any;
            code: any;
            name: any;
        } | null;
        isGlobal: boolean;
        assignedAt: Date;
    }[]>;
    addRegionRole(userId: string, roleId: string, region?: string | null): Promise<{
        id: string;
        code: string;
        name: string;
        description: string | null;
        isBuiltIn: boolean;
        enabled: boolean;
        organizationId: any;
        organization: {
            id: any;
            code: any;
            name: any;
        } | null;
        isGlobal: boolean;
        assignedAt: Date;
    }[]>;
    removeRegionRole(userId: string, roleId: string, region?: string | null): Promise<{
        id: string;
        code: string;
        name: string;
        description: string | null;
        isBuiltIn: boolean;
        enabled: boolean;
        organizationId: any;
        organization: {
            id: any;
            code: any;
            name: any;
        } | null;
        isGlobal: boolean;
        assignedAt: Date;
    }[]>;
    removeRole(userId: string, roleId: string): Promise<{
        message: string;
        deletedCount: number;
    }>;
    getUserPermissions(userId: string, organizationId?: string): Promise<{
        userId: string;
        organizationId: string | null;
        permissions: {
            resource: any;
            action: any;
            code: string;
            description: any;
            sources: any;
        }[];
        roles: {
            id: string;
            code: string;
            name: string;
            organizationId: any;
            organization: {
                id: any;
                code: any;
                name: any;
            } | null;
            isGlobal: boolean;
        }[];
    }>;
    getSubordinates(userId: string): Promise<any>;
}
