import * as renraku from "renraku"; import { VideoMeta } from "../../types/video-auth.js"; import { Dacast } from "../../dacast/types/dacast-types.js"; import { AnonAuth, AnonMeta } from "../../../auth/types/auth-metas.js"; import { SecretConfig } from "../../../../assembly/backend/types/secret-config.js"; import { VideoHosting, VideoModerationData, VideoShow } from "../../types/video-concepts.js"; export declare const makeContentService: ({ config, dacastSdk, basePolicy, }: { config: SecretConfig; dacastSdk: Dacast.Sdk; basePolicy: renraku.Policy; }) => renraku.Service Promise<{ userId: string; userHasRoles: { userId: import("dbmage").Id; roleId: import("dbmage").Id; timeframeStart: number; timeframeEnd: number; public: boolean; hard: boolean; time: number; }[]; }[]>; getAnonymousPrivileges: () => Promise; getPrivilegesForUsers: (userIds: string[]) => Promise<{ userId: string; privileges: string[]; }[]>; getPublicRolesForUsers: (userIds: string[]) => Promise<{ userId: string; publicUserRoles: import("../../../auth/aspects/users/types/public-user-role.js").PublicUserRole[]; }[]>; getPermissionsDisplay: () => Promise; getPrivileges: (privilegeIds: string[]) => Promise<{ hard: boolean; label: string; time: number; privilegeId: string; }[]>; getAllPrivileges: () => Promise<{ hard: boolean; label: string; time: number; privilegeId: string; }[]>; getUserPrivileges: (userId: string) => Promise; }; checker: import("../../../auth/aspects/permissions/types/privilege-checker.js").PrivilegeChecker<{ "view all videos": string; "moderate videos": string; }>; access: import("../../../auth/types/auth-tokens.js").AccessPayload; database: import("../../../../assembly/backend/types/database.js").DatabaseSafe; }, { fetchModerationData(): Promise; writeView({ label, privileges, reference, }: { label: string; privileges: string[]; reference: VideoHosting.AnyReference; }): Promise; deleteView({ label }: { label: string; }): Promise; getShows({ labels }: { labels: string[]; }): Promise; }>;