import { l } from '@atproto/lex'; import * as EmbedExternal from './external.defs.js'; import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'; declare const $nsid = "app.bsky.embed.getEmbedExternalView"; export { $nsid }; export declare const $params: l.ParamsSchema<{ readonly url: l.StringSchema<{ readonly format: "uri"; }>; readonly uris: l.ArraySchema>; }>; export type $Params = l.InferOutput; export declare const $output: l.Payload<"application/json", l.ObjectSchema<{ view: l.OptionalSchema>>; associatedRefs: l.OptionalSchema>>>; associatedRecords: l.OptionalSchema>; }>>; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post. */ declare const main: l.Query<"app.bsky.embed.getEmbedExternalView", l.ParamsSchema<{ readonly url: l.StringSchema<{ readonly format: "uri"; }>; readonly uris: l.ArraySchema>; }>, l.Payload<"application/json", l.ObjectSchema<{ view: l.OptionalSchema>>; associatedRefs: l.OptionalSchema>>>; associatedRecords: l.OptionalSchema>; }>>, undefined>; export { main }; export declare const $lxm = "app.bsky.embed.getEmbedExternalView"; //# sourceMappingURL=getEmbedExternalView.defs.d.ts.map