export type RuntimeUrlInfo = { /** The full Expo SDK version that should be loaded */ sdkVersion: string; /** * The unique Snack hash, referring to a saved Snack. * This value may conain `[a-zA-Z0-9-_]`, but may not start with `[-_]`. */ snack?: string; /** * The Snack session or channel reference, used to communicate with the Snack Website. * This value may contain `[a-zA-Z0-9]`. */ channel?: string; }; export type RuntimeUrlOptions = { /** The protocol of the URL, e.g. `exp` for Expo Go, `https` for web (defaults to `exp`) */ protocol?: string; /** The endpoint containing base domain, and optional pathname, for EAS Update (defaults to EAS Update endpoint) */ endpoint?: string; }; /** The default domain for every Snack URL */ export declare const SNACK_RUNTIME_URL_ENDPOINT = "u.expo.dev/933fd9c0-1666-11e7-afca-d980795c5824"; /** The default protocol for every Snack URL */ export declare const SNACK_RUNTIME_URL_PROTOCOL = "exp"; /** * Create a Snack URL from the provided information, that opens a Snack. * The URL must have `sdkVersion`, and either a `snack` or `channel` in order to be useful. */ export declare function createRuntimeUrl(options: RuntimeUrlInfo & RuntimeUrlOptions): string; /** * Parse the Snack URL info usable information, using the unified URL format. * The URL must have `sdkVersion`, and either a `snack` or `channel` in order to be useful. */ export declare function parseRuntimeUrl(uri: string | URL): RuntimeUrlInfo | null;