import { கிளி, type பிணையம்_பரிந்துரை } from "@lassi-js/kili"; import { TypedEmitter } from "tiny-typed-emitter"; import { Constellation } from "./client.js"; import type { schémaFonctionOublier, schémaFonctionSuivi, schémaRetourFonctionRechercheParProfondeur } from "./types.js"; export declare const conditions: { readonly ATTR: "attribution"; readonly ÉGAL: "partageÉgal"; readonly INCL: "inclureDroitDauteur"; readonly CHNG: "indiquerChangements"; readonly SRCE: "partagerCodeSource"; readonly USGR: "usagereseau"; }; export declare const droits: { PRTG: string; ADPT: string; CMRC: string; PRV: string; BREV: string; }; export declare const limitations: { RSP: string; GRNT: string; MRCM: string; BREV: string; SOUS: string; }; export declare const catégories: { readonly BD: "basesDeDonnées"; readonly ART: "artistique"; readonly CODE: "codeInformatique"; readonly AUTRE: "autre"; }; export type InfoLicence = { conditions: (typeof conditions)[keyof typeof conditions][]; droits: (typeof droits)[keyof typeof droits][]; limitations: (typeof limitations)[keyof typeof limitations][]; catégorie: (typeof catégories)[keyof typeof catégories]; spécialisée?: boolean; }; export type InfoLicenceAvecCode = InfoLicence & { code: string; }; export declare const infoLicences: { [key: string]: InfoLicence; }; export declare const licences: string[]; type ÉvénementsLicences = { prêt: (args: { perroquet?: கிளி | false; }) => void; }; export declare class Licences { client: Constellation; événements: TypedEmitter<ÉvénementsLicences>; perroquet?: கிளி | false; constructor({ client }: { client: Constellation; }); initialiser(): Promise; obtPerroquet(): Promise<{ perroquet: கிளி | false; }>; suivreLicences({ f, }: { f: schémaFonctionSuivi<{ [licence: string]: InfoLicence; }>; }): Promise; suggérerLicence({ code, infoLicence, }: { code: string; infoLicence: InfoLicence; }): Promise; effacerSuggestionLicence({ idÉlément, }: { idÉlément: string; }): Promise; suivreSuggestionsLicences({ f, }: { f: schémaFonctionSuivi<பிணையம்_பரிந்துரை[]>; }): Promise; approuverLicence({ suggestion, }: { suggestion: பிணையம்_பரிந்துரை; }): Promise; } export {};