import { type AtUriString, type NsidString } from '@atproto/lex-schema'; import { type DidString } from '@atproto/syntax'; import { type StrongRef } from '../views/types.js'; /** A complete DID-based record URI in the expected collection, with no query or fragment. */ export declare function recordUriOf(value: string, collection: NsidString): AtUriString | undefined; /** * Convert a post URI to a threadgate URI. If the URI is not a valid * post URI, return URI unchanged. Threadgate lookups will then fail. */ export declare function postUriToThreadgateUri(postUri: string): AtUriString; /** * Convert a post URI to a postgate URI. If the URI is not a valid * post URI, return URI unchanged. Postgate lookups will then fail. */ export declare function postUriToPostgateUri(postUri: string): AtUriString; export declare function uriToDid(uri: string): DidString; export declare function safePinnedPost(value: unknown): StrongRef | undefined; //# sourceMappingURL=uris.d.ts.map