import * as zod from 'zod'; import { TSendCommand } from '../schema/types'; export declare const SetActivity: zod.ZodNullable>; created_at: zod.ZodNullable>; timestamps: zod.ZodNullable; end: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { start?: number | undefined; end?: number | undefined; }, { start?: number | undefined; end?: number | undefined; }>>>; application_id: zod.ZodNullable>; details: zod.ZodNullable>; details_url: zod.ZodNullable>; state: zod.ZodNullable>; state_url: zod.ZodNullable>; emoji: zod.ZodNullable>; roles: zod.ZodNullable>>; user: zod.ZodNullable>; avatar: zod.ZodNullable>; avatar_decoration_data: zod.ZodNullable; }, "strip", zod.ZodTypeAny, { asset: string; sku_id?: string | undefined; }, { asset: string; sku_id?: string | undefined; }>>; bot: zod.ZodBoolean; flags: zod.ZodNullable>; premium_type: zod.ZodNullable>; }, "strip", zod.ZodTypeAny, { username: string; discriminator: string; id: string; bot: boolean; avatar_decoration_data: { asset: string; sku_id?: string | undefined; } | null; avatar?: string | null | undefined; global_name?: string | null | undefined; flags?: number | null | undefined; premium_type?: number | null | undefined; }, { username: string; discriminator: string; id: string; bot: boolean; avatar_decoration_data: { asset: string; sku_id?: string | undefined; } | null; avatar?: string | null | undefined; global_name?: string | null | undefined; flags?: number | null | undefined; premium_type?: number | null | undefined; }>>>; require_colons: zod.ZodNullable>; managed: zod.ZodNullable>; animated: zod.ZodNullable>; available: zod.ZodNullable>; }, "strip", zod.ZodTypeAny, { id: string; user?: { username: string; discriminator: string; id: string; bot: boolean; avatar_decoration_data: { asset: string; sku_id?: string | undefined; } | null; avatar?: string | null | undefined; global_name?: string | null | undefined; flags?: number | null | undefined; premium_type?: number | null | undefined; } | null | undefined; name?: string | null | undefined; animated?: boolean | null | undefined; roles?: string[] | null | undefined; require_colons?: boolean | null | undefined; managed?: boolean | null | undefined; available?: boolean | null | undefined; }, { id: string; user?: { username: string; discriminator: string; id: string; bot: boolean; avatar_decoration_data: { asset: string; sku_id?: string | undefined; } | null; avatar?: string | null | undefined; global_name?: string | null | undefined; flags?: number | null | undefined; premium_type?: number | null | undefined; } | null | undefined; name?: string | null | undefined; animated?: boolean | null | undefined; roles?: string[] | null | undefined; require_colons?: boolean | null | undefined; managed?: boolean | null | undefined; available?: boolean | null | undefined; }>>>; party: zod.ZodNullable>; size: zod.ZodNullable>>; }, "strip", zod.ZodTypeAny, { id?: string | null | undefined; size?: number[] | null | undefined; }, { id?: string | null | undefined; size?: number[] | null | undefined; }>>>; assets: zod.ZodNullable>; large_text: zod.ZodOptional>; large_url: zod.ZodOptional>>; small_image: zod.ZodOptional>; small_text: zod.ZodOptional>; small_url: zod.ZodOptional>>; }, "strip", zod.ZodTypeAny, { large_image?: string | null | undefined; large_text?: string | null | undefined; large_url?: string | null | undefined; small_image?: string | null | undefined; small_text?: string | null | undefined; small_url?: string | null | undefined; }, { large_image?: string | null | undefined; large_text?: string | null | undefined; large_url?: string | null | undefined; small_image?: string | null | undefined; small_text?: string | null | undefined; small_url?: string | null | undefined; }>>>; secrets: zod.ZodNullable; match: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { join?: string | undefined; match?: string | undefined; }, { join?: string | undefined; match?: string | undefined; }>>>; instance: zod.ZodNullable>; flags: zod.ZodNullable>; }, "type" | "state" | "state_url" | "details" | "details_url" | "assets" | "timestamps" | "party" | "secrets" | "instance">, { type: zod.ZodOptional; instance: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { type?: number | undefined; state?: string | null | undefined; state_url?: string | null | undefined; details?: string | null | undefined; details_url?: string | null | undefined; assets?: { large_image?: string | null | undefined; large_text?: string | null | undefined; large_url?: string | null | undefined; small_image?: string | null | undefined; small_text?: string | null | undefined; small_url?: string | null | undefined; } | null | undefined; timestamps?: { start?: number | undefined; end?: number | undefined; } | null | undefined; party?: { id?: string | null | undefined; size?: number[] | null | undefined; } | null | undefined; secrets?: { join?: string | undefined; match?: string | undefined; } | null | undefined; instance?: boolean | null | undefined; }, { type?: number | undefined; state?: string | null | undefined; state_url?: string | null | undefined; details?: string | null | undefined; details_url?: string | null | undefined; assets?: { large_image?: string | null | undefined; large_text?: string | null | undefined; large_url?: string | null | undefined; small_image?: string | null | undefined; small_text?: string | null | undefined; small_url?: string | null | undefined; } | null | undefined; timestamps?: { start?: number | undefined; end?: number | undefined; } | null | undefined; party?: { id?: string | null | undefined; size?: number[] | null | undefined; } | null | undefined; secrets?: { join?: string | undefined; match?: string | undefined; } | null | undefined; instance?: boolean | null | undefined; }>>; export interface SetActivityInput { activity: zod.infer; } /** * * @description * RPC documentation here: https://discord.com/developers/docs/topics/rpc#setactivity * Calling setActivity allows modifying how your activity's rich presence is displayed in the Discord App * * Supported Platforms * | Web | iOS | Android | * |-----|-----|---------| * | ✅ | ✅ | ✅ | * * Required scopes: [rpc.activities.write] * * @example * await discordSdk.commands.setActivity({ * activity: { * type: 0, * details: 'Details', * state: 'Playing', * }, * }); */ export declare const setActivity: (sendCommand: TSendCommand) => (args: SetActivityInput) => Promise<{ type: number; name: string; flags?: number | null | undefined; url?: string | null | undefined; application_id?: string | null | undefined; state?: string | null | undefined; state_url?: string | null | undefined; details?: string | null | undefined; details_url?: string | null | undefined; emoji?: { id: string; user?: { username: string; discriminator: string; id: string; bot: boolean; avatar_decoration_data: { asset: string; sku_id?: string | undefined; } | null; avatar?: string | null | undefined; global_name?: string | null | undefined; flags?: number | null | undefined; premium_type?: number | null | undefined; } | null | undefined; name?: string | null | undefined; animated?: boolean | null | undefined; roles?: string[] | null | undefined; require_colons?: boolean | null | undefined; managed?: boolean | null | undefined; available?: boolean | null | undefined; } | null | undefined; assets?: { large_image?: string | null | undefined; large_text?: string | null | undefined; large_url?: string | null | undefined; small_image?: string | null | undefined; small_text?: string | null | undefined; small_url?: string | null | undefined; } | null | undefined; timestamps?: { start?: number | undefined; end?: number | undefined; } | null | undefined; party?: { id?: string | null | undefined; size?: number[] | null | undefined; } | null | undefined; secrets?: { join?: string | undefined; match?: string | undefined; } | null | undefined; created_at?: number | null | undefined; instance?: boolean | null | undefined; }>;