import * as z from "zod"; export type GetPostRequest = { id: string; }; export type ActionsSummary = { acted?: boolean | undefined; canAct?: boolean | undefined; canUndo?: boolean | undefined; count?: number | undefined; /** * `2`: like, `3`, `4`, `6`, `7`, `8`: flag */ id: number; }; /** * single post */ export type GetPostResponseBody = { actionsSummary: Array; admin: boolean; avatarTemplate: string; bookmarked: boolean; canDelete: boolean; canEdit: boolean; canRecover: boolean; canSeeHiddenPost?: boolean | undefined; canViewEditHistory: boolean; canWiki: boolean; cooked: string; createdAt: string; deletedAt: string | null; displayUsername?: string | null | undefined; editReason: string | null; flairBgColor: string | null; flairColor: string | null; flairGroupId?: string | null | undefined; flairName: string | null; flairUrl: string | null; hidden: boolean; id: number; incomingLinkCount: number; mentionedUsers?: Array | undefined; moderator: boolean; name?: string | null | undefined; postNumber: number; postType: number; primaryGroupName: string | null; quoteCount: number; raw: string; readersCount: number; reads: number; replyCount: number; replyToPostNumber: string | null; reviewableId: string | null; reviewableScoreCount: number; reviewableScorePendingCount: number; score: number; staff: boolean; topicId: number; topicSlug: string; trustLevel: number; updatedAt: string; userDeleted: boolean; userId: number; userTitle: string | null; username: string; version: number; wiki: boolean; yours: boolean; additionalProperties: { [k: string]: any; }; }; /** @internal */ export declare const GetPostRequest$inboundSchema: z.ZodType; /** @internal */ export type GetPostRequest$Outbound = { id: string; }; /** @internal */ export declare const GetPostRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetPostRequest$ { /** @deprecated use `GetPostRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetPostRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetPostRequest$Outbound` instead. */ type Outbound = GetPostRequest$Outbound; } /** @internal */ export declare const ActionsSummary$inboundSchema: z.ZodType; /** @internal */ export type ActionsSummary$Outbound = { acted?: boolean | undefined; can_act?: boolean | undefined; can_undo?: boolean | undefined; count?: number | undefined; id: number; }; /** @internal */ export declare const ActionsSummary$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ActionsSummary$ { /** @deprecated use `ActionsSummary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ActionsSummary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ActionsSummary$Outbound` instead. */ type Outbound = ActionsSummary$Outbound; } /** @internal */ export declare const GetPostResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetPostResponseBody$Outbound = { actions_summary: Array; admin: boolean; avatar_template: string; bookmarked: boolean; can_delete: boolean; can_edit: boolean; can_recover: boolean; can_see_hidden_post?: boolean | undefined; can_view_edit_history: boolean; can_wiki: boolean; cooked: string; created_at: string; deleted_at: string | null; display_username?: string | null | undefined; edit_reason: string | null; flair_bg_color: string | null; flair_color: string | null; flair_group_id?: string | null | undefined; flair_name: string | null; flair_url: string | null; hidden: boolean; id: number; incoming_link_count: number; mentioned_users?: Array | undefined; moderator: boolean; name?: string | null | undefined; post_number: number; post_type: number; primary_group_name: string | null; quote_count: number; raw: string; readers_count: number; reads: number; reply_count: number; reply_to_post_number: string | null; reviewable_id: string | null; reviewable_score_count: number; reviewable_score_pending_count: number; score: number; staff: boolean; topic_id: number; topic_slug: string; trust_level: number; updated_at: string; user_deleted: boolean; user_id: number; user_title: string | null; username: string; version: number; wiki: boolean; yours: boolean; [additionalProperties: string]: unknown; }; /** @internal */ export declare const GetPostResponseBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetPostResponseBody$ { /** @deprecated use `GetPostResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetPostResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetPostResponseBody$Outbound` instead. */ type Outbound = GetPostResponseBody$Outbound; } //# sourceMappingURL=getpost.d.ts.map