import type { DiscordClient } from "./discord-client.js"; import { normalizeChannel } from "./normalize.js"; import type { ScopePolicy } from "./policy.js"; import type { RequestOptions } from "./types.js"; export declare const CHANNEL_INVENTORY_DETAILS: readonly ["compact", "full"]; export type ChannelInventoryDetail = typeof CHANNEL_INVENTORY_DETAILS[number]; export type NormalizedGuildChannel = ReturnType; export interface CompactGuildChannel { id: string; name: string | null; parentId: string | null; position: number | null; type: number; typeName: string; } export interface ChannelInventoryListOptions extends RequestOptions { cursor?: string; detail?: ChannelInventoryDetail; limit?: number; } export interface CompleteChannelInventoryResult { channels: NormalizedGuildChannel[]; guildId: string; inventory: { completeness: "visibility-bounded"; returned: number; scope: "configured-policy-and-discord-visibility"; }; schemaVersion: number; status: "ok"; } export interface ChannelInventoryPageResult { channels: Array; guildId: string; inventory: { completeness: "visibility-bounded"; scope: "configured-policy-and-discord-visibility"; }; page: { continuation: "process-local-fresh-ordered-inventory-bound"; cursor: string | null; hasMore: boolean; nextCursor: string | null; requestedLimit: number; returned: number; totalVisible: number; }; projection: { detail: ChannelInventoryDetail; exactMetadataTool: "get_channel" | null; }; schemaVersion: number; status: "ok"; } export type ChannelInventoryResult = ChannelInventoryPageResult | CompleteChannelInventoryResult; export interface ChannelInventoryServiceClient { getGuildChannels: DiscordClient["getGuildChannels"]; } export interface ChannelInventoryServiceOptions { client: ChannelInventoryServiceClient; cursorKey?: Uint8Array; policy: Pick; } export declare class ChannelInventoryService { #private; constructor(options: ChannelInventoryServiceOptions); list(guildId: string, options?: ChannelInventoryListOptions): Promise; } //# sourceMappingURL=channel-inventory-service.d.ts.map