import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DigestUpdate } from "./digestupdate.js"; import { SectionType } from "./sectiontype.js"; export type DigestSection = { /** * Unique identifier for the digest section. */ id: string; /** * Type of the section. This defines how the section should be interpreted and rendered in the digest. */ type: SectionType; /** * Human-readable name for the digest section. */ displayName?: string | undefined; /** * Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend. */ channelName?: string | undefined; /** * Channel visibility/type for CHANNEL sections. For Slack this is typically one of * * @remarks * PublicChannel, PrivateChannel. Omit if not applicable or unknown. */ channelType?: string | undefined; /** * Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend. */ instanceId?: string | undefined; /** * Optional URL for the digest section. Should be populated only if the section is a CHANNEL type section. */ url?: string | undefined; /** * List of updates within this digest section. */ updates: Array; }; /** @internal */ export declare const DigestSection$inboundSchema: z.ZodType; export declare function digestSectionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=digestsection.d.ts.map