import type { IRoom, IUser } from '@rocket.chat/core-typings'; import type { PaginatedRequest } from '../helpers/PaginatedRequest'; type ShieldSvg = { type?: string; icon?: 'true' | 'false'; channel: string; name: string; userId?: string; username?: string; user?: string; }; export declare const isShieldSvgProps: import("ajv").ValidateFunction; type Spotlight = { query: string; }; export declare const isSpotlightProps: import("ajv").ValidateFunction; type Directory = PaginatedRequest<{ text: string; type: string; workspace: string; }>; export declare const isDirectoryProps: import("ajv").ValidateFunction; type MethodCall = { method: string; params: unknown[]; id: string; msg: 'string'; }; export declare const isMethodCallProps: import("ajv").ValidateFunction; export declare const isMeteorCall: import("ajv").ValidateFunction<{ message: string; }>; type MethodCallAnon = { method: string; params: unknown[]; id: string; msg: 'method'; }; export declare const isMethodCallAnonProps: import("ajv").ValidateFunction; type Fingerprint = { setDeploymentAs: 'new-workspace' | 'updated-configuration'; }; export declare const isFingerprintProps: import("ajv").ValidateFunction; export type MiscEndpoints = { '/v1/stdout.queue': { GET: () => { queue: { id: string; string: string; ts: Date; }[]; }; }; '/v1/shield.svg': { GET: (params: ShieldSvg) => { svg: string; }; }; '/v1/spotlight': { GET: (params: Spotlight) => { users: Pick, 'name' | 'status' | 'statusText' | 'avatarETag' | '_id' | 'username'>[]; rooms: Pick, 't' | 'name' | 'lastMessage' | '_id'>[]; }; }; '/v1/pw.getPolicy': { GET: () => { enabled: boolean; policy: [name: string, value?: Record][]; }; }; '/v1/method.call/:method': { POST: (params: { message: string; }) => { message: string; }; }; '/v1/method.callAnon/:method': { POST: (params: { message: string; }) => { message: string; }; }; '/v1/fingerprint': { POST: (params: Fingerprint) => { success: boolean; }; }; '/v1/smtp.check': { GET: () => { isSMTPConfigured: boolean; }; }; }; export {}; //# sourceMappingURL=misc.d.ts.map