/** * - **C**omment (T1). * - **A**ccount (T2). * - **L**ink (T3). * - **M**essage (T4). * - **S**ubreddit (T5). * - **T**rophies (T6). */ export declare enum T_PREFIX { COMMENT = "t1_", ACCOUNT = "t2_", LINK = "t3_",// Same as POST MESSAGE = "t4_", SUBREDDIT = "t5_", AWARD = "t6_" } /** Comment thing ID. */ export type T1 = `${T_PREFIX.COMMENT}${string}`; /** Account thing ID. */ export type T2 = `${T_PREFIX.ACCOUNT}${string}`; /** Post (also called link) thing ID. */ export type T3 = `${T_PREFIX.LINK}${string}`; /** Message thing ID. */ export type T4 = `${T_PREFIX.MESSAGE}${string}`; /** Subreddit thing ID. */ export type T5 = `${T_PREFIX.SUBREDDIT}${string}`; /** Trophy/Award thing ID. */ export type T6 = `${T_PREFIX.AWARD}${string}`; export type Tid = T1 | T2 | T3 | T4 | T5 | T6; export declare function isT1(id: string | null | undefined): id is T1; export declare function isT2(id: string | null | undefined): id is T2; export declare function isT3(id: string | null | undefined): id is T3; export declare function isT4(id: string | null | undefined): id is T4; export declare function isT5(id: string | null | undefined): id is T5; export declare function isT6(id: string | null | undefined): id is T6; export declare function assertT1(id: string | null | undefined): asserts id is T1; export declare function assertT2(id: string | null | undefined): asserts id is T2; export declare function assertT3(id: string | null | undefined): asserts id is T3; export declare function assertT4(id: string | null | undefined): asserts id is T4; export declare function assertT5(id: string | null | undefined): asserts id is T5; export declare function assertT6(id: string | null | undefined): asserts id is T6; export declare function T1(id: string | null | undefined): T1; export declare function T2(id: string | null | undefined): T2; export declare function T3(id: string | null | undefined): T3; export declare function T4(id: string | null | undefined): T4; export declare function T5(id: string | null | undefined): T5; export declare function T6(id: string | null | undefined): T6; export declare function asTid(id: string | null | undefined): T; //# sourceMappingURL=tid.d.ts.map