export type JsonRecord = Record<string, unknown>;
export declare function isJsonRecord(value: unknown): value is JsonRecord;
export declare function toSerializableJson(value: unknown, stack?: Map<object, string>, path?: string): unknown;
export declare function serializableJsonResponse(body: unknown, init?: ResponseInit): Response;
export declare function scopeMatches(granted: string, required: string): boolean;
export declare function missingScopes(grantedScopes: readonly string[] | undefined, requiredScopes: readonly string[]): string[];
export type ChannelLifecycleAction = 'inspect' | 'setup' | 'retest' | 'connect' | 'disconnect' | 'start' | 'stop' | 'login' | 'logout' | 'wait_login';
export type ChannelConversationKind = 'direct' | 'group' | 'channel' | 'thread' | 'service';
export declare function readChannelLifecycleAction(value: unknown): ChannelLifecycleAction | null;
export declare function readChannelConversationKind(value: unknown): ChannelConversationKind | null;
//# sourceMappingURL=route-helpers.d.ts.map